Permalink
Browse files

Limit assignment fontlocking to property names.

  • Loading branch information...
1 parent 7803688 commit 2e96b3cd99d263a23c8f3524b11bfcc2f6f889cc Ryan Koopmans committed with Feb 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 coffee-mode.el
View
@@ -238,7 +238,7 @@ path."
(defvar coffee-prototype-regexp "\\(\\(\\w\\|\\.\\|_\\| \\|$\\)+?\\)::\\(\\(\\w\\|\\.\\|_\\| \\|$\\)+?\\):")
;; Assignment
-(defvar coffee-assign-regexp "\\(\\(\\w\\|\\.\\|_\\| \\|$\\)+?\\)[:=]")
+(defvar coffee-assign-regexp "\\(\\(\\w\\|\\.\\|_\\| \\|$\\)+?\\):")
;; Lambda
(defvar coffee-lambda-regexp "\\((.+)\\)?\\s *\\(->\\|=>\\)")

0 comments on commit 2e96b3c

Please sign in to comment.