kevinsawicki / monokai

Monokai Atom Syntax theme
241 stars 133 forks source link

(js) Style Node `global` like `window` #50

Open albertorestifo opened 9 years ago

albertorestifo commented 9 years ago

I thing it would be better if the NodeJs global was styled the same as window in JavaScriot

Currently: image

sandstrom commented 9 years ago

If you look at them in the developer console, do they receive the same CSS classes? If not, that's probably why and this should be filed with a javascript and/or node language package instead.

albertorestifo commented 9 years ago

Ok, I checked:

window in given the classes support class js and global the classes support variable js.

Upon further investigation, the default Syntax theme "One Dark" do style them in a different way, but they are both styled:

image

IMO global should be also styled differently in Monokai.

albertorestifo commented 9 years ago

One Dark: image

Monokai: image

What do you think? Is it a language error?