diff options
Diffstat (limited to 'src/nvim/testdir/runtest.vim')
-rw-r--r-- | src/nvim/testdir/runtest.vim | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/testdir/runtest.vim b/src/nvim/testdir/runtest.vim index cf686d1531..d0a666a049 100644 --- a/src/nvim/testdir/runtest.vim +++ b/src/nvim/testdir/runtest.vim @@ -161,10 +161,6 @@ func RunTheTest(test) endtry endif - " Make "Q" switch to Ex mode. - " This does not work for all tests. - nnoremap Q gQ - if a:test =~ 'Test_nocatch_' " Function handles errors itself. This avoids skipping commands after the " error. @@ -195,6 +191,9 @@ func RunTheTest(test) endtry endif + " Align Nvim defaults to Vim. + source setup.vim + " Clear any autocommands and put back the catch-all for SwapExists. au! au SwapExists * call HandleSwapExists() |