Missing highlights for operator keywords in a few languages #25

bmars opened this Issue Feb 4, 2013 · 2 comments


None yet

2 participants


I noticed that some operator keywords are highlighted in the default Vim theme but not in Jellybeans:

  • new and instanceof in Java (javaOperator)
  • new, delete, instanceof and typeof in JavaScript (javaScriptOperator)
  • undef, eq, bless, etc in Perl (perlOperator)

IMO, these keywords should be highlighted. I see that Operator is linked to Normal, with overrrides for individual languages. Maybe it'd be best to highlight Operator by default? Or does that not work well?

Thanks in advance.

@nanotech nanotech added a commit that referenced this issue Feb 6, 2013
@nanotech Highlight `Operator` in light blue by default
See issue #25

My original intention was to keep the standard symbolic operators ([!$*-+=,:?]...) white. Some languages are so densely colored (Perl, PHP, Vimscript, ...) that white stands out more than another color.

But looking at it closer this time, most syntaxes don't even highlight their symbolic operators. So reversing the default makes sense.


@nanotech nanotech closed this Feb 6, 2013

Looks great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment