🐛 fix(nvim): treesitter autotag and cmp keymap not working
This commit is contained in:
parent
adacf82229
commit
255b9eed58
2 changed files with 2 additions and 4 deletions
|
@ -44,7 +44,7 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>cM", ":CmpStatus<CR>", { desc = "Cmp Status" } },
|
{ "<leader>cM", ":CmpStatus<CR>", desc = "Cmp Status" },
|
||||||
},
|
},
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
cmp.setup.filetype("gitcommit", {
|
cmp.setup.filetype("gitcommit", {
|
||||||
|
|
|
@ -4,10 +4,8 @@ return {
|
||||||
---@type TSConfig
|
---@type TSConfig
|
||||||
---@diagnostic disable-next-line: missing-fields
|
---@diagnostic disable-next-line: missing-fields
|
||||||
opts = {
|
opts = {
|
||||||
-- autotag = { enable = true },
|
autotag = { enable = true },
|
||||||
endwise = { enable = true },
|
endwise = { enable = true },
|
||||||
highlight = { enable = true },
|
|
||||||
indent = { enable = true },
|
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"bash",
|
"bash",
|
||||||
"c",
|
"c",
|
||||||
|
|
Loading…
Add table
Reference in a new issue