-
Notifications
You must be signed in to change notification settings - Fork 48
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
Some character literals are not highlighted #183
Comments
If you or anyone else wants to submit a PR for this go ahead. This should be a reasonably easy fix augmenting the character regex? |
Any hints on where the regexes are defined? I've never worked on syntax highlighting. |
You can try looking at the scopes it is being assigned to. Each rule assigns a, usually descriptively named, "scope" to the thing it matches. For instance a literal Maybe one last hint, the |
And if you need help with the regex syntax, this is where you can find information (also about how to specify character classes and such) https://macromates.com/manual/en/regular_expressions |
Wanted to add that the characters |
Most character literals are highlighted properly, but some - like vowels with tildes - are not.
See the following example:
Example characters are as follow (GitHub doesn't highlight characters):
The text was updated successfully, but these errors were encountered: