Browse files

added function highlighting

  • Loading branch information...
1 parent d6dcb9b commit d824b79e6c1e97e49f69e65612b07688689bd8a5 @seanhess committed Sep 20, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 syntax/coffee.vim
@@ -117,6 +117,9 @@ endif
syn match coffeeObjAssign /@\?\I\i*\s*\ze::\@!/ contains=@coffeeIdentifier display
hi def link coffeeObjAssign Identifier
+syn match coffeeFunction /\w\+\(\s*=.*\->\)\@=/ contains=@coffeeIdentifier display
+hi def link coffeeFunction Function
syn keyword coffeeTodo TODO FIXME XXX contained
hi def link coffeeTodo Todo

0 comments on commit d824b79

Please sign in to comment.