summaryrefslogtreecommitdiff
path: root/lua/user
diff options
context:
space:
mode:
authorlouie <louie@example.com>2022-07-18 17:56:24 -0700
committerlouie <louie@example.com>2022-07-18 17:56:24 -0700
commitb99944169ec2ee847aedebfcd6473777e3355930 (patch)
tree6fdc3ab472c8072dd4ddf3b561db389c6f72891b /lua/user
parent0783268e30dd8e5b4648164e54baf72e4a6cb83b (diff)
Improved GUI colors toggle
Diffstat (limited to 'lua/user')
-rw-r--r--lua/user/keymaps.lua2
-rw-r--r--lua/user/treesitter.lua2
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,