Skip to content

Commit

Permalink
Fixes #173
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher MCAdams committed Dec 26, 2015
1 parent bf707ee commit 85d8e3a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions syntax/coffee.vim
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,11 @@ syn match coffeeFunction /\s\?[-=]>/
hi def link coffeeFunction Function

" The first case matches symbol operators only if they have an operand before.
syn match coffeeExtendedOp /\%(\S\s*\)\@<=[+\-*/%&|\^=!<>?.]\{-1,}\|--\|++\|:/
syn match coffeeExtendedOp /\%(\S\s*\)\@<=[+\-*/%&|\^=!<>?.,;]\{-1,}\|--\|++\|:/
\ display
syn match coffeeExtendedOp /\<\%(and\|or\)=/ display
hi def link coffeeExtendedOp coffeeOperator

" This is separate from `coffeeExtendedOp` to help differentiate commas from
" dots.
syn match coffeeSpecialOp /[,;]/ display
hi def link coffeeSpecialOp SpecialChar

syn match coffeeBoolean /\<\%(true\|on\|yes\|false\|off\|no\)\>/ display
hi def link coffeeBoolean Boolean
Expand Down

0 comments on commit 85d8e3a

Please sign in to comment.