neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 7b5276b382ac1ea1a2771ecf3ff6c8ae944cc7f9
parent 899ec829be85b52202f0ce32c455ae4f4d60b85b
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 27 Dec 2025 08:57:52 +0800

vim-patch:9.1.2020: tests: test_virtualedit.vim leaves swapfiles behind (#37115)

Problem:  tests: test_virtualedit.vim leaves swapfiles behind
Solution: Close open buffers using :bw! instead of :close!

https://github.com/vim/vim/commit/a8a0ee5004a005421212961a06ca7e49d7c8ef2d

Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
Mtest/old/testdir/test_virtualedit.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/old/testdir/test_virtualedit.vim b/test/old/testdir/test_virtualedit.vim @@ -395,7 +395,7 @@ func Test_delete_break_tab() normal v3ld call assert_equal(' two', getline(1)) set virtualedit& - close! + bw! endfunc " Test for using <BS>, <C-W> and <C-U> in virtual edit mode @@ -413,7 +413,7 @@ func Test_ve_backspace() call assert_equal([0, 1, 1, 0], getpos('.')) set backspace& set virtualedit& - close! + bw! endfunc " Test for delete (x) on EOL character and after EOL