fix(treesitter): install on startup

This commit is contained in:
2026-02-28 09:49:45 +01:00
parent b6e44bb644
commit 997c6198a3
+3
View File
@@ -43,6 +43,9 @@ return {
}, },
}, },
config = function() config = function()
local ts = require("nvim-treesitter")
ts.install(languages):wait(300000)
local filetypes = {} local filetypes = {}
for _, lang in ipairs(languages) do for _, lang in ipairs(languages) do
for _, ft in ipairs(vim.treesitter.language.get_filetypes(lang)) do for _, ft in ipairs(vim.treesitter.language.get_filetypes(lang)) do