diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-30 07:44:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 07:44:25 +0800 |
commit | efaf37a2b9450d56acbf48a44c3c791d00d70199 (patch) | |
tree | 1804a8a6723d4a6c48d20014f456549ad25c9e35 | |
parent | 234b5f67019b435b604308a96c366b1187c2cc3a (diff) | |
download | rneovim-efaf37a2b9450d56acbf48a44c3c791d00d70199.tar.gz rneovim-efaf37a2b9450d56acbf48a44c3c791d00d70199.tar.bz2 rneovim-efaf37a2b9450d56acbf48a44c3c791d00d70199.zip |
test(old): restore default 'grepprg' and 'grepformat' (#28574)
This prevents test failure when "rg" is executable.
-rw-r--r-- | test/old/testdir/setup.vim | 3 |
1 files changed, 3 insertions, 0 deletions
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) |