"fix" treesitter context commentstring
This commit is contained in:
parent
23d3872daa
commit
589c45cb8f
|
@ -89,7 +89,14 @@ return {
|
||||||
},
|
},
|
||||||
|
|
||||||
-- See: https://github.com/JoosepAlviste/nvim-ts-context-commentstring
|
-- 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 = {
|
incremental_selection = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
@ -189,6 +196,8 @@ return {
|
||||||
init = function ()
|
init = function ()
|
||||||
vim.opt.concealcursor = "nc"
|
vim.opt.concealcursor = "nc"
|
||||||
vim.opt.conceallevel = 2
|
vim.opt.conceallevel = 2
|
||||||
|
vim.g.skip_ts_context_commentstring_module = true
|
||||||
|
require('ts_context_commentstring').setup {}
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue