feat: explicitly set treesitter config

main
mandlm 2022-08-22 07:56:10 +02:00
parent 79e474e8eb
commit e768b07fda
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 14 additions and 2 deletions

View File

@ -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,
},
})