mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 23:05:41 +00:00
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.
eaa49e40d7
This commit is contained in:
@@ -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()"
|
||||
|
||||
Reference in New Issue
Block a user