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 /scripts | |
| 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 'scripts')
| -rw-r--r-- | scripts/tests/minimal.vim | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/scripts/tests/minimal.vim b/scripts/tests/minimal.vim index 16fdc48..df94ffc 100644 --- a/scripts/tests/minimal.vim +++ b/scripts/tests/minimal.vim @@ -39,18 +39,10 @@ end local to_install = missing_parsers(required_parsers) if #to_install > 0 then - -- fixes 'pos_delta >= 0' error - https://github.com/nvim-lua/plenary.nvim/issues/52 - vim.cmd("set display=lastline") - -- make "TSInstall*" available - vim.cmd("runtime! plugin/nvim-treesitter.vim") - vim.cmd("TSInstallSync " .. table.concat(to_install, " ")) - - local still_missing = missing_parsers(required_parsers) - if #still_missing > 0 then - error( - "Missing Tree-sitter parsers: " - .. table.concat(still_missing, ", ") - ) - end + error( + "Missing Tree-sitter parsers: " + .. table.concat(to_install, ", ") + .. "\nInstall them with: TSInstall " .. table.concat(to_install, " ") + ) end EOF |
