mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00:00
16 lines
272 B
Lua
Executable File
16 lines
272 B
Lua
Executable File
#!/usr/bin/env -S nvim -l
|
|
|
|
vim.opt.runtimepath:append('.')
|
|
|
|
-- needed on CI
|
|
vim.fn.mkdir(vim.fn.stdpath('cache'), 'p')
|
|
|
|
local done = false
|
|
require('nvim-treesitter.install').install('all', {}, function()
|
|
done = true
|
|
end)
|
|
|
|
vim.wait(6000000, function()
|
|
return done
|
|
end)
|