aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/setup.vim
diff options
context:
space:
mode:
Diffstat (limited to 'test/old/testdir/setup.vim')
-rw-r--r--test/old/testdir/setup.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/old/testdir/setup.vim b/test/old/testdir/setup.vim
index 091fb95806..7313a0a162 100644
--- a/test/old/testdir/setup.vim
+++ b/test/old/testdir/setup.vim
@@ -44,12 +44,16 @@ if exists('s:did_load')
endif
let s:did_load = 1
-" Clear Nvim default mappings and menus.
+" Clear Nvim default user commands, mappings and menus.
+comclear
mapclear
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)