aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-08-17 18:22:25 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-08-17 18:22:56 -0400
commiteb3ec78c6343b1795d7e1aa8ad4f22649dffb604 (patch)
tree7faf2fc4afdec4c94282a68449b40610477ecede /src
parent0a1807ea258849d8280c0538de5ceb9c72a2ef83 (diff)
downloadrneovim-eb3ec78c6343b1795d7e1aa8ad4f22649dffb604.tar.gz
rneovim-eb3ec78c6343b1795d7e1aa8ad4f22649dffb604.tar.bz2
rneovim-eb3ec78c6343b1795d7e1aa8ad4f22649dffb604.zip
vim-patch:8.1.1679: test using SwapExists autocommand file may fail
Problem: Test using SwapExists autocommand file may fail. Solution: Remove the SwapExists autocommand. https://github.com/vim/vim/commit/eaa49e40d7e7f84deef14424c84ef1da0796fa58
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_window_cmd.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_window_cmd.vim b/src/nvim/testdir/test_window_cmd.vim
index 107e24f4fc..c87c0a0af4 100644
--- a/src/nvim/testdir/test_window_cmd.vim
+++ b/src/nvim/testdir/test_window_cmd.vim
@@ -42,6 +42,8 @@ function Test_window_cmd_wincmd_gf()
function s:swap_exists()
let v:swapchoice = s:swap_choice
endfunc
+ " Remove the catch-all that runtest.vim adds
+ au! SwapExists
augroup test_window_cmd_wincmd_gf
autocmd!
exec "autocmd SwapExists " . fname . " call s:swap_exists()"