"fix" treesitter context commentstring

This commit is contained in:
Christoph J. Scherr 2023-11-29 11:03:30 +01:00
parent 23d3872daa
commit 589c45cb8f
1 changed files with 10 additions and 1 deletions

View File

@ -89,7 +89,14 @@ return {
},
-- See: https://github.com/JoosepAlviste/nvim-ts-context-commentstring
context_commentstring = { enable = true, enable_autocmd = false },
--context_commentstring = { enable = true, enable_autocmd = false },
-- context_commentstring nvim-treesitter module is deprecated, use
-- require('ts_context_commentstring').setup {} and set
-- vim.g.skip_ts_context_commentstring_module = true to speed up loading instead.
-- This feature will be removed in ts_context_commentstring version in the future
incremental_selection = {
enable = true,
@ -189,6 +196,8 @@ return {
init = function ()
vim.opt.concealcursor = "nc"
vim.opt.conceallevel = 2
vim.g.skip_ts_context_commentstring_module = true
require('ts_context_commentstring').setup {}
end
},
}