We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code here matches the operators:
gandm/language-babel/grammars/Babel Language.json lines 1197–1200
{ "match": "(?<!\\.)\\s*+\\b(delete|in|instanceof|new|of|typeof|void|with)\\b", "captures": { "1": { "name": "keyword.operator.js" } } },
However, one-light-syntax only colors certain keywords from blue to purple:
one-light-syntax
atom/one-light-syntax/styles/syntax/javascript.less lines 2–16
.syntax--keyword.syntax--operator { color: @hue-1; // keywords are definded in https://github.com/atom/language-javascript/blob/master/grammars/javascript.cson // search "instanceof" for location &.syntax--delete, // ...snip... &.syntax--void { color: @hue-3; } }
In language-javascript, the name of the operator is added as a scope:
language-javascript
atom/language-javascript/grammars/javascript.cson lines 960–963
{ 'match': '(?<!\\.)\\b(delete|in|of|instanceof|new|typeof|void)(?!\\s*:)\\b' 'name': 'keyword.operator.$1.js' }
Could this behavior be replicated in language-babel?
language-babel
The text was updated successfully, but these errors were encountered:
Add additional scope names to support some themes.
e39cb98
Issue #405
Try 2.73.0
Sorry, something went wrong.
No branches or pull requests
The code here matches the operators:
gandm/language-babel/grammars/Babel Language.json lines 1197–1200
However,
one-light-syntax
only colors certain keywords from blue to purple:atom/one-light-syntax/styles/syntax/javascript.less lines 2–16
In
language-javascript
, the name of the operator is added as a scope:atom/language-javascript/grammars/javascript.cson lines 960–963
Could this behavior be replicated in
language-babel
?The text was updated successfully, but these errors were encountered: