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

vim: Fix panic due to overflow when scrolling #16029

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

mrnugget
Copy link
Member

@mrnugget mrnugget commented Aug 9, 2024

When setting "vertical_scroll_margin": 99 or other high values this can lead to a panic that crashes Zed.

Release Notes:

  • vim: Fixed a possible panic that could happen when using a very high value for vertical_scroll_margin that exceeded the number of visible lines on the screen.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Aug 9, 2024
When setting `"vertical_scroll_margin": 99` or other high values
this can lead to a panic that crashes Zed.

Co-authored-by: Bennet <bennet@zed.dev>
@mrnugget mrnugget merged commit 09c9ed4 into main Aug 9, 2024
9 checks passed
@mrnugget mrnugget deleted the vim-fix-overflow branch August 9, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant