kevinsawicki / monokai

Monokai Atom Syntax theme
241 stars 133 forks source link

Emoji break syntax highlighting in certain situations #53

Closed nabilfreeman closed 9 years ago

nabilfreeman commented 9 years ago
screenshot 2015-07-11 15 05 07

code executes without any problems...

svanharmelen commented 9 years ago

@nabilfreeman I've reproduced this and it turns out this is a problem with the language grammar, not with this theme package.

If you pull up the developer console and have a look at the assigned classes, you'll notice that as soon as you type/insert for example the :joy: icon, the classes change from the correct classes to .string.quoted.single.js. This in turns makes the highlighting change as well, but that is by design of course.

So I suggest you open a new issue with the language package(s) where you experience this behaviour and for now I'll close this one here.