I wan’t to set a different color for $ in js but when I change the color for the scope: text.html.basic source.js.embedded.html keyword.operator.js alot of other things gets colored. Is it possible to just change the color for $?
Change color for $ in js
FichteFoll
#2
Not without adjusting the syntax definition, no.
The syntax definition should assign a specific scope to special variables like $
, but at this moment it doesn’t.
Note that this situation is different in dev builds because $
has the scope variable.other.readwrite.js
there, just like pretty much every other identifier.
See also the relevant discussion on https://github.com/sublimehq/Packages/pull/96.
0 Likes