From e1a439339d611f850bab804b8dc8a9d664caa786 Mon Sep 17 00:00:00 2001 From: Searidang Pa Date: Fri, 9 Jan 2026 17:16:48 -0500 Subject: Run TSInstallSync unconditionally in minimal test setup --- scripts/tests/minimal.vim | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/tests/minimal.vim b/scripts/tests/minimal.vim index 0695a72..16fdc48 100644 --- a/scripts/tests/minimal.vim +++ b/scripts/tests/minimal.vim @@ -41,13 +41,9 @@ 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") - - -- Only attempt installation if nvim-treesitter provided the command. - if vim.fn.exists(":TSInstallSync") == 2 then - -- make "TSInstall*" available - vim.cmd("runtime! plugin/nvim-treesitter.vim") - vim.cmd("TSInstallSync " .. table.concat(to_install, " ")) - end + -- 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 -- cgit v1.3-3-g829e