From 182fa8bc121f3fc4d7527bfb5a7b89b3833e0573 Mon Sep 17 00:00:00 2001 From: TheLeoP Date: Mon, 7 Jul 2025 17:36:03 -0500 Subject: [PATCH] tests: remove references to nvim-treesitter --- test/new/common/bootstrap.vim | 17 ----------------- test/new/test-syn/test.vim | 29 ++++++----------------------- test/vader/minvimrc | 16 ---------------- test/vader/ts_py_motion.vader | 27 ++++++++------------------- 4 files changed, 14 insertions(+), 75 deletions(-) diff --git a/test/new/common/bootstrap.vim b/test/new/common/bootstrap.vim index 49c773e..3987022 100644 --- a/test/new/common/bootstrap.vim +++ b/test/new/common/bootstrap.vim @@ -3,23 +3,6 @@ set packpath-=~/.config/nvim packpath-=~/.config/nvim/after let &rtp = '../../..,' . &rtp let &rtp = &rtp . ',../../../after' -if $TESTS_ENABLE_TREESITTER - let s:path = simplify(expand(':h').'/../../..') - let &rtp = s:path.'/test/vader/plugged/nvim-treesitter,' . &rtp - let &rtp .= ','.s:path.'/test/vader/plugged/nvim-treesitter/after' - - runtime! plugin/nvim-treesitter.vim - runtime! plugin/nvim-treesitter.lua - - lua < 0 call matchup#test#finished() endif -let s:expect_ts_engine = +$TESTS_ENABLE_TREESITTER +let g:matchup_treesitter_enabled = v:false +let s:expect_ts_engine = $MODE == 0 ? 0 : +$TESTS_ENABLE_TREESITTER if $MODE == 1 - lua <