summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSearidang Pa <dangsyncpa@gmail.com>2026-01-09 22:18:35 -0500
committerSearidang Pa <dangsyncpa@gmail.com>2026-01-09 22:18:35 -0500
commit4179e791e62c6d54a61757fe1ec67e7424949326 (patch)
treeb7a600985d5eab602b7c56dd5561a6d6a80d35ed /.github
parent57042a790e24214149b50f5e908823d5ecbb9966 (diff)
downloada4-4179e791e62c6d54a61757fe1ec67e7424949326.tar.xz
a4-4179e791e62c6d54a61757fe1ec67e7424949326.zip
make it a bit easier to read
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/makefile.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml
index 12b2f7b..116ae1a 100644
--- a/.github/workflows/makefile.yml
+++ b/.github/workflows/makefile.yml
@@ -68,9 +68,7 @@ jobs:
run: |
nvim --headless -u NONE -i NONE \
-c "set rtp+=../nvim-treesitter" \
- -c "lua local install_dir = vim.fn.stdpath('data') .. '/site'; require('nvim-treesitter').setup({ install_dir = install_dir }); local ok, err = pcall(function() require('nvim-treesitter').install({ 'lua', 'typescript' }):wait(300000) end); if not ok then vim.api.nvim_err_writeln(err); vim.cmd('cq') end" \
- -c "lua local install_dir = vim.fn.stdpath('data') .. '/site'; if not vim.uv.fs_stat(install_dir .. '/parser/lua.so') then vim.api.nvim_err_writeln('lua parser missing after install'); vim.cmd('cq') end" \
- -c "lua local install_dir = vim.fn.stdpath('data') .. '/site'; if not vim.uv.fs_stat(install_dir .. '/parser/typescript.so') then vim.api.nvim_err_writeln('typescript parser missing after install'); vim.cmd('cq') end" \
+ -c "lua dofile('scripts/ci/install_treesitter_parsers.lua')" \
-c "qa"
- name: Run pr_ready