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 incsearch with result before caret and wrapscan #923

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

citizenmatt
Copy link
Member

If all results are before the caret, make sure it's still possible to find the closest match.

Fixes VIM-3505

@citizenmatt
Copy link
Member Author

Hang on. This is a bad fix and doesn't work with 'wrapscan' disabled. Don't merge just yet!

If all results are before the caret, make sure it's still possible to highlight the closest match if 'wrapscan' is enabled

Fixes VIM-3505
@citizenmatt
Copy link
Member Author

Done. Force pushed with a better implementation, and based on current master rather than a surprisingly old commit

@AlexPl292
Copy link
Member

Awesome, thank you!

@AlexPl292 AlexPl292 merged commit 750db8e into JetBrains:master Jun 28, 2024
3 of 4 checks passed
@citizenmatt citizenmatt deleted the bugfix/insearch-wrapscan branch June 28, 2024 11:18
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