-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Leading +/- in number not highlighed correctly #9
Comments
Maybe this changed, but this shouldn't be a valid identifier, it specifically excludes
that's fine since you can have a node parsing rule have a higher priority, so the first |
VSCode recognizes
+10
as aentity.name.tag
but10
asconstant.numeric.integer.decimal.rust
This ultimately occurs because
+10
is both a valid node name, and entry. Ideally+10
should be highlighted differently in the document+10 +10
, but I don't thing this is achievable with regex's. But I think if+10
can only be a number or identifier, it's more likely to be a number.The text was updated successfully, but these errors were encountered: