Skip to content

Commit 85d8e3a

Browse files
author
Christopher MCAdams
committed
Fixes #173
1 parent bf707ee commit 85d8e3a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

syntax/coffee.vim

+1-5
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,11 @@ syn match coffeeFunction /\s\?[-=]>/
5050
hi def link coffeeFunction Function
5151

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

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

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

0 commit comments

Comments
 (0)