Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Highlight keyword operators, fixed #44 #61
Conversation
|
@livelazily Thanks. Before: After:
.source.js {
.keyword.operator {
&.delete,
&.in,
&.of,
&.instanceof,
&.new,
&.typeof,
&.void {
color: @syntax-color-keyword;
}
}
}It is less elegant, but maybe easier to understand for normal people. |
|
@simurai Please review again. |
|
Perhaps the "regular" operators should also receive a different color to help them stand out? |
|
@50Wliu see #44 (comment) |
Here the same example from #44: Before: Only keywords (this PR) All operators: What do you think? I'm open to both, but if I would have to pick, it's "Only keywords". Colored |
|
I was actually suggesting a different color than purple (blue? green? I don't know) - not sure if that's feasible or not though with the base16 palette. |
|
Ok, let's merge this and I'll add the @livelazily thanks for the PR. |
Highlight keyword operators, fixed #44

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.







No description provided.