♻️ 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
|
"version": 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,19 @@
|
||||||
return {
|
return {
|
||||||
"bennypowers/nvim-regexplainer",
|
"bennypowers/nvim-regexplainer",
|
||||||
opts = {},
|
dependencies = {
|
||||||
event = "BufReadPost",
|
|
||||||
requires = {
|
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
},
|
},
|
||||||
|
opts = {
|
||||||
|
auto = "true",
|
||||||
|
},
|
||||||
|
-- stylua: ignore
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"gR",
|
||||||
|
function()
|
||||||
|
require("regexplainer").show()
|
||||||
|
end,
|
||||||
|
desc = "Regexplainer",
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,12 +7,12 @@ return {
|
||||||
watch = true,
|
watch = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cmd = "TSC",
|
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>ct", "<cmd>TSC<cr>", desc = "Type Check" },
|
{ "<leader>ct", "<cmd>TSC<cr>", desc = "Type Check" },
|
||||||
},
|
},
|
||||||
ft = {
|
ft = {
|
||||||
"typescript",
|
"typescript",
|
||||||
|
"typescriptreact",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue