diff options
-rw-r--r-- | lua/user/keymaps.lua | 2 | ||||
-rw-r--r-- | lua/user/treesitter.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 1b9a2c8..4346211 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -90,4 +90,4 @@ keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts) ]] -- Toggle GUI colors -keymap("n", "<leader>g", ":set termguicolors!<CR>", opts) +keymap("n", "<leader>g", ":set termguicolors!<CR>:TSToggle highlight<CR>", opts) diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua index 0b5650a..063e414 100644 --- a/lua/user/treesitter.lua +++ b/lua/user/treesitter.lua @@ -4,7 +4,7 @@ configs.setup { sync_install = false, ignore_install = { "" }, -- List of parsers to ignore installing highlight = { - enable = true, -- false will disable the whole extension + enable = false, -- false will disable the whole extension disable = { "" }, -- list of language that will be disabled additional_vim_regex_highlighting = true, |