nixos-config/home-manager/neovim/treesitter.lua

21 lines
567 B
Lua
Raw Normal View History

2022-06-20 13:49:53 +00:00
require('nvim-treesitter.configs').setup({
ensure_installed = {
"bash", "c", "cpp", "css", "dockerfile", "hcl", "html", "javascript",
"json", "latex", "lua", "markdown", "nix", "python", "rust", "svelte",
2022-06-22 19:50:50 +00:00
"toml", "tsx", "typescript", "vim", "vue", "yaml"
2022-08-22 05:56:10 +00:00
},
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false
},
indent = {
enable = true,
},
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = nil,
},
2022-06-20 13:49:53 +00:00
})