mirror of
https://github.com/neovim/neovim.git
synced 2026-01-17 18:37:01 +00:00
This reverts PR #27793. On second thought, this solution may still crash, because it can leave a window with a NULL buffer if there are autocommand windows or if closing a floating window fails. It also makes close_last_window_tabpage() more complicated, so revert it.