Feat: configure treesitter

This commit is contained in:
Bertrand Benjamin 2022-05-01 09:50:29 +02:00
parent b00ba05e2b
commit 2633d677c4
1 changed files with 5 additions and 2 deletions

View File

@ -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"