plugin upgrades and fuckery.

This commit is contained in:
2025-09-24 16:22:21 +02:00
parent 866b6ff34c
commit a28447db2f
11 changed files with 135 additions and 133 deletions

View File

@@ -1,25 +1,27 @@
local opts = {
ensure_installed = {
'c',
'lua',
'vim',
'bash',
'regex',
'vimdoc',
'query',
'markdown',
'markdown_inline',
},
highlight = {
enable = true
}
}
local function config()
require('nvim-treesitter.configs').setup(opts)
end
return {
'nvim-treesitter/nvim-treesitter',
config = config,
build = ':TSUpdate',
{
"nvim-treesitter/nvim-treesitter",
version = false,
lazy = false, -- <- wichtig: vor FileType-Kram geladen
priority = 1000, -- <- noch davor
build = ":TSUpdate",
main = "nvim-treesiter.configs",
opts = function(_, opts)
opts = opts or {}
opts.ensure_installed = vim.tbl_extend("force", opts.ensure_installed or {}, {
"haskell",
"lua",
"vim",
"bash",
"regex",
"vimdoc",
"query",
"markdown",
"markdown_inline",
})
opts.highlight = opts.highlight or {}
opts.highlight.enable = true
return opts
end,
},
}