the custom logic for vsplit handling has reached its limits, it's now impossible to handle every edge cases and might make the user experience clunky.
This winlayout refactoring aims at increasing consistency by considering nvim as the source of truth, as it should be. Leveraging also allows the plugin to avoid debouncing and concurrent refreshes in order to wait for the ui to be refreshed, we can now just evaluate the API instantly.
This also unlocks nnp buffers to be CONSISTENTLY on both sides, where they should always be.
📃 Summary
the custom logic for vsplit handling has reached its limits, it's now impossible to handle every edge cases and might make the user experience clunky.
This winlayout refactoring aims at increasing consistency by considering nvim as the source of truth, as it should be. Leveraging also allows the plugin to avoid debouncing and concurrent refreshes in order to wait for the ui to be refreshed, we can now just evaluate the API instantly.
This also unlocks nnp buffers to be CONSISTENTLY on both sides, where they should always be.
supersede https://github.com/shortcuts/no-neck-pain.nvim/pull/374 closes https://github.com/shortcuts/no-neck-pain.nvim/issues/368