From efaf37a2b9450d56acbf48a44c3c791d00d70199 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 30 Apr 2024 07:44:25 +0800 Subject: test(old): restore default 'grepprg' and 'grepformat' (#28574) This prevents test failure when "rg" is executable. --- test/old/testdir/setup.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/old/testdir/setup.vim b/test/old/testdir/setup.vim index a87903bc0d..7313a0a162 100644 --- 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) -- cgit