summaryrefslogtreecommitdiffstats
path: root/lua/user/core/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/core/treesitter.lua')
-rw-r--r--lua/user/core/treesitter.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/lua/user/core/treesitter.lua b/lua/user/core/treesitter.lua
index 05d8fbf..df99773 100644
--- a/lua/user/core/treesitter.lua
+++ b/lua/user/core/treesitter.lua
@@ -4,6 +4,11 @@ if not status_ok then
return
end
+require('ts_context_commentstring').setup {
+ enable = true,
+ enable_autocmd = false
+}
+
configs.setup {
ensure_installed = {"ruby"}, -- one of "all" or a list of languages
sync_install = false, -- install languages synchronously (only applied to `ensure_installed`)
@@ -17,10 +22,6 @@ configs.setup {
additional_vim_regex_highlighting = true,
},
indent = { enable = true, disable = { "yaml" } },
- context_commentstring = { -- for nvim-ts-context-commentstring
- enable = true,
- enable_autocmd = false,
- },
playground = {
enable = true,
},