Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(split): vsplits integration resize inconsistencies #391

Merged
merged 5 commits into from
Sep 9, 2024

Conversation

shortcuts
Copy link
Owner

@shortcuts shortcuts commented Sep 4, 2024

📃 Summary

rework the way we compute the size of side buffers by properly assessing the number of valid sides, which was causing weird layout when 2 were actives.

also resize the vsplits based on the layout, rather than guessing which windows are vsplits, this allows a super consistent ui layout

todo: closing an integration doesn't restore the position of the curr buffer, but the width is correct

closes #389

@shortcuts shortcuts merged commit 09736f4 into main Sep 9, 2024
6 checks passed
@shortcuts shortcuts deleted the fix/split-and-integration-resize-inconsistencies branch September 9, 2024 07:58
shortcuts pushed a commit that referenced this pull request Sep 9, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.0.1](v2.0.0...v2.0.1)
(2024-09-09)


### Bug Fixes

* **split:** vsplits integration resize inconsistencies
([#391](#391))
([09736f4](09736f4))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: no-neck-pain buffer disappears when opening neo-tree
1 participant