Skip to content

Commit 28fb76a

Browse files
zeertzjqhuangyingw
authored andcommitted
test(old): restore default 'grepprg' and 'grepformat' (neovim#28574)
This prevents test failure when "rg" is executable.
1 parent 39ac371 commit 28fb76a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/old/testdir/setup.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ mapclear!
5151
aunmenu *
5252
tlunmenu *
5353

54+
" Undo the 'grepprg' and 'grepformat' setting in _defaults.lua.
55+
set grepprg& grepformat&
56+
5457
" roughly equivalent to test_setmouse() in Vim
5558
func Ntest_setmouse(row, col)
5659
call nvim_input_mouse('move', '', '', 0, a:row - 1, a:col - 1)

0 commit comments

Comments
 (0)