fix: close floating windows when calling win_close()

This commit is contained in:
Rom Grk
2021-04-17 17:33:59 -04:00
committed by Lewis Russell
parent a73360a09a
commit 85ae04dbfd
10 changed files with 80 additions and 31 deletions

View File

@@ -395,7 +395,7 @@ void nvim_win_hide(Window window, Error *err)
TryState tstate;
try_enter(&tstate);
if (tabpage == curtab) {
win_close(win, false);
win_close(win, false, false);
} else {
win_close_othertab(win, false, tabpage);
}