dotfiles/lua/plugins/treesitter.lua

21 lines
475 B
Lua
Raw Normal View History

require('nvim-treesitter.configs').setup {
ensure_installed = { "lua", "rust", "elm", "python", "yaml", "toml" },
auto_install = true,
highlight = {
enable = true,
2024-01-02 01:43:10 +01:00
additional_vim_regex_highlighting=true,
},
ident = {
enable = true,
},
2024-01-04 00:45:21 +01:00
rainbow = {
enable = true,
2024-01-04 00:45:21 +01:00
extended_mode = false,
max_file_lines = nil,
}
}
vim.api.nvim_set_hl(0, "@variable", { })
vim.api.nvim_set_hl(0, "@parameter", { })
2024-01-04 00:45:21 +01:00
vim.api.nvim_set_hl(0, "@field", { })