From b99944169ec2ee847aedebfcd6473777e3355930 Mon Sep 17 00:00:00 2001 From: louie Date: Mon, 18 Jul 2022 17:56:24 -0700 Subject: Improved GUI colors toggle --- lua/user/keymaps.lua | 2 +- 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", "", "l", term_opts) ]] -- Toggle GUI colors -keymap("n", "g", ":set termguicolors!", opts) +keymap("n", "g", ":set termguicolors!:TSToggle highlight", 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, -- cgit