mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
fix: close floating windows when calling win_close()
This commit is contained in:
@@ -6563,7 +6563,7 @@ static int open_cmdwin(void)
|
||||
set_bufref(&bufref, curbuf);
|
||||
win_goto(old_curwin);
|
||||
if (win_valid(wp) && wp != curwin) {
|
||||
win_close(wp, true);
|
||||
win_close(wp, true, false);
|
||||
}
|
||||
|
||||
// win_close() may have already wiped the buffer when 'bh' is
|
||||
|
Reference in New Issue
Block a user