diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-05-29 16:52:20 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | 9c0a99819c99d70d28334dc6ea1c3ac773e4fed1 (patch) | |
| tree | 24d6d9ebdf2b9aa9a11c9ee271fa5e80d96fe6da /scripts/install-parsers.lua | |
| parent | refactor: rewrite installation using jobs and async (diff) | |
| download | nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.gz nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.bz2 nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.lz nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.xz nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.zst nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.zip | |
ci: remove update-lockfile shell script
Diffstat (limited to 'scripts/install-parsers.lua')
| -rwxr-xr-x | scripts/install-parsers.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/install-parsers.lua b/scripts/install-parsers.lua new file mode 100755 index 000000000..ab06e538f --- /dev/null +++ b/scripts/install-parsers.lua @@ -0,0 +1,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) |
