diff options
author | louie <louie@example.com> | 2022-07-18 17:56:24 -0700 |
---|---|---|
committer | louie <louie@example.com> | 2022-07-18 17:56:24 -0700 |
commit | b99944169ec2ee847aedebfcd6473777e3355930 (patch) | |
tree | 6fdc3ab472c8072dd4ddf3b561db389c6f72891b | |
parent | 0783268e30dd8e5b4648164e54baf72e4a6cb83b (diff) |
Improved GUI colors toggle
-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, |