feat: explicitly set treesitter config
This commit is contained in:
parent
79e474e8eb
commit
e768b07fda
1 changed files with 14 additions and 2 deletions
|
@ -1,8 +1,20 @@
|
|||
require('nvim-treesitter.configs').setup({
|
||||
highlight = { enable = true, additional_vim_regex_highlighting = false },
|
||||
ensure_installed = {
|
||||
"bash", "c", "cpp", "css", "dockerfile", "hcl", "html", "javascript",
|
||||
"json", "latex", "lua", "markdown", "nix", "python", "rust", "svelte",
|
||||
"toml", "tsx", "typescript", "vim", "vue", "yaml"
|
||||
}
|
||||
},
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
},
|
||||
rainbow = {
|
||||
enable = true,
|
||||
extended_mode = true,
|
||||
max_file_lines = nil,
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue