diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2023-11-20 19:27:52 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2023-11-20 19:27:52 +0100 |
commit | 49e0ec10ba5081a8ac60a4abb5e86ac008fb540a (patch) | |
tree | 4f3669519da740d7cb094f0b131ef9c8b5726727 /lua | |
parent | 89ded0c4acabfaae8065b653c2115841bc814db4 (diff) | |
download | vim-49e0ec10ba5081a8ac60a4abb5e86ac008fb540a.zip vim-49e0ec10ba5081a8ac60a4abb5e86ac008fb540a.tar.gz |
fix treesitter comment handling
Diffstat (limited to 'lua')
-rw-r--r-- | lua/user/core/treesitter.lua | 9 |
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, }, |