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

[BUG] javascript /= operator is parsed as regex by highlightingk #5093

Open
SArpnt opened this issue Jan 26, 2024 · 0 comments
Open

[BUG] javascript /= operator is parsed as regex by highlightingk #5093

SArpnt opened this issue Jan 26, 2024 · 0 comments
Labels

Comments

@SArpnt
Copy link

SArpnt commented Jan 26, 2024

Version of Kakoune

v2023.07.29

Reproducer

create a file test.js

let foo = 20;
foo /= 3;
// all code here is higlighted incorrectly
foo /= 3;

Outcome

image

Expectations

the /= should be highlighted the same as *=, and highlighting between it should work
at the very least it would be good to make regex stop at the end of a line, javascript doesn't have multiline regexes.

Additional information

there are some other old similar issues but i haven't seen anything about this particular operator

@SArpnt SArpnt added the bug label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant