commit efaf37a2b9450d56acbf48a44c3c791d00d70199
parent 234b5f67019b435b604308a96c366b1187c2cc3a
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue, 30 Apr 2024 07:44:25 +0800
test(old): restore default 'grepprg' and 'grepformat' (#28574)
This prevents test failure when "rg" is executable.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/test/old/testdir/setup.vim b/test/old/testdir/setup.vim
@@ -51,6 +51,9 @@ mapclear!
aunmenu *
tlunmenu *
+" Undo the 'grepprg' and 'grepformat' setting in _defaults.lua.
+set grepprg& grepformat&
+
" roughly equivalent to test_setmouse() in Vim
func Ntest_setmouse(row, col)
call nvim_input_mouse('move', '', '', 0, a:row - 1, a:col - 1)