summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylor@classicalconversations.com>2023-05-11 11:11:36 -0400
committerJackson Taylor <jtaylor@classicalconversations.com>2023-05-11 11:11:36 -0400
commitf2bbe243074d23bdc5246fe723d5c8b7ff6c0665 (patch)
tree5f8147be0d6efe38fe06a2c8751ad4df84741acf
parenta719ad8a2f87c1c0a34af41ed7f5370bdb192357 (diff)
Disable treesitter for css
This is a workaround so that way vim-css-color will work. The plugin vim-css-color would not display the colors over their respective color codes, which being able to see the colors is helpful especially in CSS. I don't write enough CSS to try to figure out how to get the 2 to work together, so disabling treesitter for css is easiest right now.
-rw-r--r--after/plugin/treesitter.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua
index b050463..cdeadc0 100644
--- a/after/plugin/treesitter.lua
+++ b/after/plugin/treesitter.lua
@@ -30,6 +30,7 @@ require'nvim-treesitter.configs'.setup {
highlight = {
enable = true,
+ disable = { "css" },
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).