Feat: configure treesitter
This commit is contained in:
parent
b00ba05e2b
commit
2633d677c4
@ -1,11 +1,14 @@
|
|||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
-- One of "all", "maintained" (parsers with maintainers), or a list of languages
|
-- One of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||||
ensure_installed = "maintained",
|
ensure_installed = "all",
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
-- disable = {"latex"}
|
||||||
|
additional_vim_regex_highlighting = false,
|
||||||
},
|
},
|
||||||
indent = {
|
indent = {
|
||||||
enable = false,
|
enable = false,
|
||||||
|
disable = {"latex"}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
-- vim.opt.foldmethod = "expr"
|
-- vim.opt.foldmethod = "expr"
|
||||||
|
Loading…
Reference in New Issue
Block a user