plugin upgrades and fuckery.
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user