diff options
| author | Searidang Pa <dangsyncpa@gmail.com> | 2026-01-09 17:27:17 -0500 |
|---|---|---|
| committer | Searidang Pa <dangsyncpa@gmail.com> | 2026-01-09 17:27:17 -0500 |
| commit | 2832ee20c45652415cf58acf2aff03041864b573 (patch) | |
| tree | 82d5c4053fcc711d81d7eecc66f3628bab428768 /.github | |
| parent | e1a439339d611f850bab804b8dc8a9d664caa786 (diff) | |
| download | a4-2832ee20c45652415cf58acf2aff03041864b573.tar.xz a4-2832ee20c45652415cf58acf2aff03041864b573.zip | |
ci: install tree-sitter parsers in workflow; simplify minimal.vim error
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/makefile.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index f7dc5fc..6ea92c7 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -45,5 +45,14 @@ jobs: git clone https://github.com/nvim-treesitter/nvim-treesitter.git ../nvim-treesitter git -C ../nvim-treesitter checkout 2ba5ec184609a96b513bf4c53a20512d64e27f39 + - name: Install treesitter parsers + run: | + nvim --headless \ + -c "set rtp+=../nvim-treesitter" \ + -c "runtime plugin/nvim-treesitter.lua" \ + -c "TSInstall lua typescript" \ + -c "lua vim.wait(60000, function() local ok1 = pcall(vim.treesitter.language.inspect, 'lua'); local ok2 = pcall(vim.treesitter.language.inspect, 'typescript'); return ok1 and ok2 end, 1000)" \ + -c "quit" + - name: Run pr_ready run: make pr_ready |
