mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +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.