From 255b9eed58a49ac7aad214b58da935efe6c473c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 22 Oct 2023 12:55:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(nvim):=20treesitter=20autota?= =?UTF-8?q?g=20and=20cmp=20keymap=20not=20working?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/cmp.lua | 2 +- .config/nvim/lua/plugins/treesitter.lua | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/cmp.lua b/.config/nvim/lua/plugins/extras/cmp.lua index 31cc967a..4cd9b2c8 100644 --- a/.config/nvim/lua/plugins/extras/cmp.lua +++ b/.config/nvim/lua/plugins/extras/cmp.lua @@ -44,7 +44,7 @@ return { }, }, keys = { - { "cM", ":CmpStatus", { desc = "Cmp Status" } }, + { "cM", ":CmpStatus", desc = "Cmp Status" }, }, opts = function(_, opts) cmp.setup.filetype("gitcommit", { diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua index dc66445e..fbaba400 100644 --- a/.config/nvim/lua/plugins/treesitter.lua +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -4,10 +4,8 @@ return { ---@type TSConfig ---@diagnostic disable-next-line: missing-fields opts = { - -- autotag = { enable = true }, + autotag = { enable = true }, endwise = { enable = true }, - highlight = { enable = true }, - indent = { enable = true }, ensure_installed = { "bash", "c",