From 2832ee20c45652415cf58acf2aff03041864b573 Mon Sep 17 00:00:00 2001 From: Searidang Pa Date: Fri, 9 Jan 2026 17:27:17 -0500 Subject: ci: install tree-sitter parsers in workflow; simplify minimal.vim error --- scripts/tests/minimal.vim | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'scripts') 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 -- cgit v1.3-3-g829e