19 lines
438 B
Lua
19 lines
438 B
Lua
require('nvim-treesitter.configs').setup {
|
|
ensure_installed = { "lua", "rust", "elm", "python", "yaml", "toml" },
|
|
auto_install = true,
|
|
highlight = {
|
|
enable = true,
|
|
additional_vim_regex_highlighting=false,
|
|
},
|
|
ident = {
|
|
enable = true,
|
|
},
|
|
rainbow = {
|
|
enable = true,
|
|
extended_mode = false,
|
|
max_file_lines = nil,
|
|
}
|
|
}
|
|
|
|
vim.api.nvim_set_hl(0, "@variable", { })
|
|
vim.api.nvim_set_hl(0, "@parameter", { })
|