This repository has been archived on 2024-10-06. You can view files and clone it, but cannot push or open issues or pull requests.
neovim/lua/config/treesitter.lua
Vladan Popovic 721bc03588 huge refactor
- tidy up
- shuffle code around
- use same abstractions for all usecases
2023-07-30 04:26:44 +02:00

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", { })