diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-04-19 11:08:24 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-19 11:29:35 +0800 |
| commit | a2f4bad781efd6c011dc93845fce342b6477162d (patch) | |
| tree | 0e96b4207a77a12ff4e41ada26e770ac4b292d19 /test/old/testdir/test_autocmd.vim | |
| parent | a0d4649c17e0af855494a2a680b9d7a7a4fb5702 (diff) | |
| download | rneovim-a2f4bad781efd6c011dc93845fce342b6477162d.tar.gz rneovim-a2f4bad781efd6c011dc93845fce342b6477162d.tar.bz2 rneovim-a2f4bad781efd6c011dc93845fce342b6477162d.zip | |
vim-patch:9.0.1010: stray warnings for existing swap files
Problem: Stray warnings for existing swap files.
Solution: Wipe out the buffer until it has no name and no swap file.
https://github.com/vim/vim/commit/23526d2539e8679ea8df14e3a018101dedc3f391
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/old/testdir/test_autocmd.vim')
| -rw-r--r-- | test/old/testdir/test_autocmd.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim index f91792e36e..decfec4763 100644 --- a/test/old/testdir/test_autocmd.vim +++ b/test/old/testdir/test_autocmd.vim @@ -3156,7 +3156,7 @@ func Test_autocmd_FileReadCmd() \ 'v:cmdarg = ++ff=mac', \ 'v:cmdarg = ++enc=utf-8'], getline(1, '$')) - close! + bwipe! augroup FileReadCmdTest au! augroup END |