-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
Describe the issue
In rust, single quotes around an emoji are not colored properly.
However, autodetect (on csharp) successfully colors it.
Which language seems to have the issue?
Rust
Are you using highlight
or highlightAuto
?
highlight
Sample Code to Reproduce
https://jsfiddle.net/cawyx173/
Expected behavior
When using rust highlighting, single quotes around an emoji should have the same color as single quotes around any other character.
Additional context
Syntax highlighting works properly using double quotes around emojis.
Problem seen in rust book.