Files
dotfiles/lazyvim/.config/nvim/lua/config/treesitter.lua
Fabio Scotto di Santolo 5dca4c97e0 Various changes on Neovim
- Use UTF-8 encoding as default format
- Added Treesitter for Bash and OrgMode
- Update Neovim plugins
2025-08-03 23:17:50 +02:00

29 lines
464 B
Lua

require("nvim-treesitter.configs").setup({
ensure_installed = {
"bash",
"c",
"go",
"gomod",
"gowork",
"gosum",
"json",
"lua",
"markdown",
"python",
"org",
"zig",
},
highlight = {
enabled = true,
},
incremental_selection = {
enabled = true,
keymaps = {
init_selection = "gnn",
node_incremental = "grn",
scope_incremental = "grc",
node_decremental = "grm",
},
},
})