mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
This reverts commit 0371d0f7af
.
> 'bufhidden' option exists. I don't think we should assume autoclosing
windows are fine just because 'hidden' is set.
This commit is contained in:
@@ -374,7 +374,7 @@ void nvim_win_hide(Window window, Error *err)
|
||||
if (is_aucmd_win(win)) {
|
||||
emsg(_(e_autocmd_close));
|
||||
} else if (tabpage == curtab) {
|
||||
win_close(win, false);
|
||||
win_close(win, false, false);
|
||||
} else {
|
||||
win_close_othertab(win, false, tabpage);
|
||||
}
|
||||
|
Reference in New Issue
Block a user