1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

Make variable assignment highlighting work in more cases

This commit is contained in:
Chris Hoffman 2010-03-08 03:55:03 -06:00
parent 3bf892128d
commit 221427a6b4

View file

@ -269,7 +269,7 @@
</dict>
</dict>
<key>match</key>
<string>(?&lt;=\s|^)([a-zA-Z\$_](\w|\$|\.)*\s*(?=(?!\::)\:(?!(\s*\(.*\))?\s*((=|-)&gt;))))</string>
<string>(?=[a-zA-Z\$_])([a-zA-Z\$_](\w|\$|\.)*\s*(?=(?!\::)\:(?!(\s*\(.*\))?\s*((=|-)&gt;))))</string>
<key>name</key>
<string>variable.assignment.coffee</string>
</dict>
@ -283,7 +283,7 @@
</dict>
</dict>
<key>match</key>
<string>(?&lt;=\s|^)([a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)&gt;)))</string>
<string>(?=[a-zA-Z\$_])([a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)&gt;)))</string>
<key>name</key>
<string>meta.function.coffee</string>
</dict>