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(VIM-2553): Substitute consecutive matches #483

Merged

Conversation

Vvalter
Copy link
Contributor

@Vvalter Vvalter commented Mar 19, 2022

We need to set newend after the content of match is final, otherwise we
can end up in an endless loop. This allows us to remove the
startoff != latestOff check that previously prevented this endless
loop and caused this bug.

We need to set newend after the content of match is final, otherwise we
can end up in an endless loop. This allows us to remove the
startoff != latestOff check that previously prevented this endless
loop and caused this bug.
@AlexPl292
Copy link
Member

@lippfi It seems that you've added a new condition into this if. Could you please take a look at this PR when you have time?

@lippfi lippfi merged commit dfc7aef into JetBrains:master Apr 2, 2022
@lippfi
Copy link
Contributor

lippfi commented Apr 2, 2022

@Vvalter, thank you for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants