mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-14 19:30:19 +01:00
19 lines
507 B
Lua
19 lines
507 B
Lua
|
|
require'nvim-treesitter.configs'.setup {
|
||
|
|
ensure_installed = {"rust", "c", "cpp", "json", "lua", "python", "toml", "latex", "nix"},
|
||
|
|
highlight = {
|
||
|
|
enable = true, -- false will disable the whole extension
|
||
|
|
disable = {"elixir", "teal"}, -- list of language that will be disabled
|
||
|
|
},
|
||
|
|
refactor = {
|
||
|
|
highlight_definitions = { enable = true },
|
||
|
|
highlight_current_scope = { enable = false },
|
||
|
|
smart_rename = {
|
||
|
|
enable = true,
|
||
|
|
keymaps = {
|
||
|
|
smart_rename = "grr",
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
}
|
||
|
|
|