Problem: Crash when closing a split window if autocmds close other split windows but there are still floating windows. Solution: Bail out and give the window back its buffer.
:lsp restart