summaryrefslogtreecommitdiff
path: root/lua/user/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/treesitter.lua')
-rw-r--r--lua/user/treesitter.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua
index b5754d6..6f14cfc 100644
--- a/lua/user/treesitter.lua
+++ b/lua/user/treesitter.lua
@@ -8,12 +8,16 @@ configs.setup {
sync_install = false, -- install languages synchronously (only applied to `ensure_installed`)
ignore_install = { "" }, -- List of parsers to ignore installing
autopairs = {
- enable = true,
- },
+ enable = true,
+ },
highlight = {
enable = true, -- false will disable the whole extension
disable = { "" }, -- list of language that will be disabled
additional_vim_regex_highlighting = true,
},
indent = { enable = true, disable = { "yaml" } },
+ context_commentstring = {
+ enable = true,
+ enable_autocmd = false,
+ },
}