summaryrefslogtreecommitdiff
path: root/lua/user/treesitter.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-06-03 17:17:16 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-06-03 17:17:16 +0100
commite76e2aad1bd8c5c18b0c46b2281a01dfba4a5b6d (patch)
treeb7583c3bce26dbc03c6ec756652a82eeb559df3b /lua/user/treesitter.lua
parent14cdc467680eb177f961a49570aa9cf98f60d72a (diff)
parentdeaf6a9824ff47756379c00f430e784f059b581c (diff)
Merge branch '10-comments' into vgg
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 ce57664..47ae33a 100644
--- a/lua/user/treesitter.lua
+++ b/lua/user/treesitter.lua
@@ -18,8 +18,8 @@ configs.setup {
sync_install = false,
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
@@ -27,4 +27,8 @@ configs.setup {
},
indent = { enable = true, disable = { "yaml" } },
+ context_commentstring = {
+ enable = true,
+ enable_autocmd = false,
+ },
}