fix(neovim): fix comment setup

This commit is contained in:
Felix Schröter 2023-11-30 11:24:55 +01:00
parent c4ada51f15
commit 2978197378
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 13 additions and 8 deletions

View file

@ -1,8 +1,8 @@
require'nvim-treesitter.configs'.setup {
require("nvim-treesitter.configs").setup {
highlight = {
enable = true,
disable = {"org"},
additional_vim_regex_highlighting = {"org"},
disable = { "org" },
additional_vim_regex_highlighting = { "org" },
},
indent = {
enable = true,
@ -10,9 +10,6 @@ require'nvim-treesitter.configs'.setup {
autotag = {
enable = true,
},
context_commentstring = {
enable = true,
},
refactor = {
highlight_definitions = { enable = true },
highlight_current_scope = { enable = true },
@ -84,3 +81,9 @@ require'nvim-treesitter.configs'.setup {
},
},
}
vim.g.skip_ts_context_commentstring_module = true
require("ts_context_commentstring").setup {
enable_autocmd = false,
}