Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Highlight anon functions at beginning of line (#53)

  • Loading branch information...
commit 2379764b0c2b3c1fc0bf5b34a3de1f8a68b31fcd 1 parent 2cd13e8
@kchmck kchmck authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  syntax/coffee.vim
View
2  syntax/coffee.vim
@@ -45,7 +45,7 @@ syn match coffeeOperator /\<\%(instanceof\|typeof\|delete\)\>/ display
hi def link coffeeOperator Operator
" The first case matches symbol operators only if they have an operand before.
-syn match coffeeExtendedOp /\%(\S\s*\)\@<=[+\-*/%&|\^=!<>?.]\+\|--\|++\|::/
+syn match coffeeExtendedOp /\%(\S\s*\)\@<=[+\-*/%&|\^=!<>?.]\+\|[-=]>\|--\|++\|::/
\ display
syn match coffeeExtendedOp /\%(and\|or\)=/ display
hi def link coffeeExtendedOp coffeeOperator
Please sign in to comment.
Something went wrong with that request. Please try again.