You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In terms of highlighting, the issue is that in bash the regex string can also contain bash variables and their syntax, but the parser doesn't detect that, so it tries to parse it as usual. But the freeze is the real issue.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to edit certain regexes, nvim started hanging on me with 100% CPU usage.
To Reproduce
I've minified the regex to the minimum amount of characters needed to reproduce the bug. Originally, the escape key was there to match ansi sequences.
x.txt
neovim with bash & regex parsers installed:
Expected behavior
the closing parenthese gets deleted
Syntax tree:
(added
x
to the empty group to remove one syntax error)In terms of highlighting, the issue is that in bash the regex string can also contain bash variables and their syntax, but the parser doesn't detect that, so it tries to parse it as usual. But the freeze is the real issue.
The text was updated successfully, but these errors were encountered: