test(old): restore default 'grepprg' and 'grepformat' (#28574)

This prevents test failure when "rg" is executable.
This commit is contained in:
zeertzjq 2024-04-30 07:44:25 +08:00 committed by GitHub
parent 234b5f6701
commit efaf37a2b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)