config update

This commit is contained in:
2026-01-14 13:14:25 +01:00
parent 70fb6adeb9
commit 1e3b1ec550
17 changed files with 727 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
return {
{ -- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
tag = 'v0.10.0',
opts = {
ensure_installed = {
'lua',
'luadoc',
'vim',
'vimdoc',
'bash',
-- Go ecosystem
'go',
'gomod',
'gowork',
'gosum'
},
-- Autoinstall languages that are not installed
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = { 'ruby' },
},
indent = { enable = true, disable = { 'ruby' } },
},
config = function(_, opts)
require('nvim-treesitter.install').prefer_git = true
---@diagnostic disable-next-line: missing-fields
require('nvim-treesitter.configs').setup(opts)
end,
},
}