nanotech/jellybeans.vim

Missing highlights for operator keywords in a few languages

Opened this issue · 2 comments

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.

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.

Thanks!

Looks great, thanks!