Skip to content

Commit

Permalink
Fixes #173
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher MCAdams committed Sep 20, 2017
1 parent 9b06789 commit 066ab9c
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 066ab9c

Please sign in to comment.