fix(treesitter): install on startup
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user