aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install-parsers.lua
blob: ab06e538f3324a852e2e7e5288726d34a8e1c26e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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)