fix: properly compute remaining width after integrations#469
fix: properly compute remaining width after integrations#469
Conversation
|
I tried this branch but didn't see much improvement unfortunately 👀 |
ah yes it's not ready yet sorry for the false alarm |
🤖 I have created a release *beep* *boop* --- ## [2.4.3](v2.4.2...v2.4.3) (2025-05-29) ### Bug Fixes * properly compute remaining width after integrations ([#469](#469)) ([4367884](4367884)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
@shortcuts Thanks for the great work here. Noticed a new issue after this commit-- there's now a severe delay before the resizing kicks in, where as before it was near instant
|
Oh wow thanks for testing and reporting the issue! Has the video been slowed down for demonstration purpose? There is indeed an added debounce of 2ms which I wasn't expecting to be so noticeable I think I might have a workaround to only debounce when a sidebar is active 🤔 I'll try that asap |
|
Sounds good! Happy to test once available -- and no, no artificial delay or slow down introduced 😅 My config is slightly unique, so it may have added some randomness to the mix |
Could you please let me know if using the built-in option to enable on vim enter (https://github.com/ezequiel/dotfiles/blob/main/dot_config/nvim/lua/plugins/no-neck-pain.lua#L8 set this to I'm not able to reproduce and all I can think of is that you use the |
## 📃 Summary so it turns out that it's the resizing of the "every other windows" (non side windows) that causes the problem of the weird layout described in #472, #453, #469 and #470 after a side window has been resized, the other vsplits (except integrations) gets resized as well, which shifts the layout when only on side is enabled, but not when there's two.


📃 Summary
closes #453
closes #470
the width of an integration doesn't need to be accounted as a vsplit occupied width, but should rather just be deduced from the remaining width for the side buffers