neovim

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

commit cd624f24f69bcae558a031d6ba51aa12ab7b6538
parent b3242af1872e4d6dc8b69ad921f42881312bd954
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 24 Jan 2026 06:56:06 +0800

vim-patch:9.1.2103: tests: test_fold.vim leaves swapfiles behind

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

https://github.com/vim/vim/commit/10b272c126e906b6bab3621b162ae7faea42472a

Co-authored-by: Christian Brabandt <cb@256bit.org>

Diffstat:
Mtest/old/testdir/test_fold.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/old/testdir/test_fold.vim b/test/old/testdir/test_fold.vim @@ -1097,7 +1097,7 @@ func Test_fold_expr_error() endfor set foldmethod& foldexpr& - close! + bw! endfunc func Test_undo_fold_deletion()