28 lines
656 B
Lua
28 lines
656 B
Lua
return {
|
|
{
|
|
"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,
|
|
},
|
|
}
|