packer.nvim
packer.nvim copied to clipboard
Don't close Neovim if there's only packer's window
display.close
previously closed Neovim if there were no other windows
Thanks, and sorry for taking so long to get to this! Do you have an easy reproduction example? I haven't encountered this behavior before.
Separately, though I think it's probably wise to move to api.nvim_win_close
regardless, I would feel more comfortable if we stored and used the display
window ID rather than relying on the display window being the current window (i.e. by passing 0
)
Do you have an easy reproduction example?
- Open a Packer window for instance using
:PackerStatus
- Close all other windows using
<C-w><C-o>
- Close Packer window by pressing
q
I would feel more comfortable if we stored and used the
display
window ID
I'm not sure exactly how you want this to be implemented, but feel free to add a commit that fixes this and/or elaborate :)