From eb3ec78c6343b1795d7e1aa8ad4f22649dffb604 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 17 Aug 2019 18:22:25 -0400 Subject: 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 --- src/nvim/testdir/test_window_cmd.vim | 2 ++ 1 file changed, 2 insertions(+) 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()" -- cgit