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 syntax colors for numbers with separators and / operator #2881

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

hluk
Copy link
Owner

@hluk hluk commented Nov 4, 2024

Correctly highlights JS formatted numbers with separators, for example:
100_000, 0x1234_abcd

Avoids highlighting multiple lines as regular expression when / is
encountered. The syntax matching is still very trivial but should fix
many problems.

hluk added 2 commits November 4, 2024 19:09
Correctly highlights JS formatted numbers with separators, for example:
`100_000`, `0x1234_abcd`

Avoids highlighting multiple lines as regular expression when `/` is
encountered. The syntax matching is still very trivial but should fix
many problems.
@hluk hluk merged commit c9129a1 into master Nov 4, 2024
11 checks passed
@hluk hluk deleted the fix-syntax-hl branch November 5, 2024 16:09
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.

1 participant