Emoji in the comments breaks formatter
MelonCode opened this issue · comments
Hi, first of all, thank you for great extension!
I recently started to learn GLSL and copied one of the code samples from google, syntax highlighting worked great, however weirds thing happened on file format - words across the code were cut off randomly.
After some experiments I figured out that it's caused by an emoji character in the comments
Code_gXWdwaBYP4.mp4
It's not a huge deal, but definitely looks like a bug
Hi, thank you, and sorry for the late answer. Fixed the problem, it'll be part of the next release. I wrote a comment into the code explaining why the deprecated class works. Here is the commit: 15d7bb5. Feel free the give me feedback if my solution doesn't work well.