Skip to content

Comments

Skip char and string literals when highlighting comments#463

Merged
SuperAuguste merged 1 commit intozigtools:masterfrom
cascade256:comment-highlighting-fix
Mar 2, 2022
Merged

Skip char and string literals when highlighting comments#463
SuperAuguste merged 1 commit intozigtools:masterfrom
cascade256:comment-highlighting-fix

Conversation

@cascade256
Copy link
Contributor

The comment highlighting appears to take priority over string and char literals, leading to syntax highlighting like this:
image

These changes should make it skip string and char literals when scanning for comments.

@Jarred-Sumner
Copy link
Contributor

nice

@nektro
Copy link
Contributor

nektro commented Feb 22, 2022

can you post a screenshot of what it looks like with these changes

@cascade256
Copy link
Contributor Author

Yep! Here is what it looks like:
image

@SuperAuguste
Copy link
Member

Thanks!

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.

4 participants