mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-14 03:10:19 +01:00
initial nix cfg
This commit is contained in:
commit
9b8f797264
16 changed files with 1968 additions and 0 deletions
18
nvim/lua/tree_sitter.lua
Normal file
18
nvim/lua/tree_sitter.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue