famiu / bufdelete.nvim

Delete Neovim buffers without losing window layout
GNU General Public License v3.0
515 stars 16 forks source link

fix: switch to existing valid buffers even if they're unloaded #25

Closed famiu closed 2 years ago

famiu commented 2 years ago

Fixes behavior where bufdelete did not switch to valid but unloaded buffers when applicable. Also fixes Bwipeout not working on unloaded buffers. Also adds errors when no buffers are deleted.

Closes #24.