neovim

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

commit 519acb3ec1cb1f1ee7fe73e43dd4db02e49f336f
parent b9bf1b1294f9acd7c410ada02ff5c1d0dbb95f12
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 19 Apr 2023 11:12:33 +0800

vim-patch:9.0.1034: reporting swap file when windows are split

Problem:    Reporting swap file when windows are split.
Solution:   Close extra windows after running a test.

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

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Mtest/old/testdir/runtest.vim | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim @@ -320,6 +320,11 @@ func RunTheTest(test) call add(s:messages, message) let s:done += 1 + " close any split windows + while winnr('$') > 1 + bwipe! + endwhile + " May be editing some buffer, wipe it out. Then we may end up in another " buffer, continue until we end up in an empty no-name buffer without a swap " file.