shortcuts / no-neck-pain.nvim

☕ Dead simple yet super extensible plugin to center the currently focused buffer to the middle of the screen.
MIT License
552 stars 13 forks source link

fix(autocmds): do not force close unsaved buffers #349

Closed shortcuts closed 4 months ago

shortcuts commented 4 months ago

📃 Summary

we were force closing remaining windows on teardown but it's possible that the buffer isn't yet saved, we therefore need to replicate this behavior

closes https://github.com/shortcuts/no-neck-pain.nvim/issues/348