♻️ refactor(nvim): added keymap and changed some options in the regex and tsc extras
This commit is contained in:
parent
0d259afe49
commit
d1c5a46433
3 changed files with 16 additions and 6 deletions
|
@ -78,4 +78,3 @@
|
|||
},
|
||||
"version": 2
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,19 @@
|
|||
return {
|
||||
"bennypowers/nvim-regexplainer",
|
||||
opts = {},
|
||||
event = "BufReadPost",
|
||||
requires = {
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
opts = {
|
||||
auto = "true",
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{
|
||||
"gR",
|
||||
function()
|
||||
require("regexplainer").show()
|
||||
end,
|
||||
desc = "Regexplainer",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -7,12 +7,12 @@ return {
|
|||
watch = true,
|
||||
},
|
||||
},
|
||||
cmd = "TSC",
|
||||
keys = {
|
||||
{ "<leader>ct", "<cmd>TSC<cr>", desc = "Type Check" },
|
||||
},
|
||||
ft = {
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue