Skip to content

feat: resize popup on VimResized #36

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

Merged
merged 2 commits into from
Apr 11, 2025
Merged

Conversation

valiank
Copy link
Contributor

@valiank valiank commented Apr 10, 2025

What problem does this PR solve?

Allow to resize the popup window on VimResized event.

How does the PR solve it?

  • create an autocmd inside the editInPopup function
  • re-calculate windows parameters

output.mp4

@chrisgrieser
Copy link
Owner

Oh thanks, haven't thought about resizing since I rarely do that.

Could you fix the formatting (see stylua test) and add a brief "header comment" above your code, like in the rest of the file (just makes it easier to scan through a bigger file.) Otherwise LGTM

@chrisgrieser
Copy link
Owner

great, thx!

@chrisgrieser chrisgrieser merged commit e2502c4 into chrisgrieser:main Apr 11, 2025
3 checks passed
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.

2 participants