summaryrefslogtreecommitdiff
path: root/lua/user/treesitter.lua
diff options
context:
space:
mode:
authorchristianchiarulli <chrisatmachine@gmail.com>2021-12-14 18:04:23 -0500
committerChristianChiarulli <chris.machine@pm.me>2021-12-16 07:34:23 -0500
commit54c2bb07828c8e11bfa8e26f5931060ac3402358 (patch)
tree76733df3371868a378a45af8d70687abe8d961cc /lua/user/treesitter.lua
parentb9a2bc855bbd7a7d54c9e280ee875393e30cf1a6 (diff)
add comments
add comments
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,
+ },
}