New Neovim configuration
This commit is contained in:
26
lazyvim/.config/nvim/lua/config/treesitter.lua
Normal file
26
lazyvim/.config/nvim/lua/config/treesitter.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"go",
|
||||
"gomod",
|
||||
"gowork",
|
||||
"gosum",
|
||||
"json",
|
||||
"lua",
|
||||
"markdown",
|
||||
"python",
|
||||
"zig",
|
||||
},
|
||||
highlight = {
|
||||
enabled = true,
|
||||
},
|
||||
incremental_selection = {
|
||||
enabled = true,
|
||||
keymaps = {
|
||||
init_selection = "gnn",
|
||||
node_incremental = "grn",
|
||||
scope_incremental = "grc",
|
||||
node_decremental = "grm",
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user