adding splats to function definitions

This commit is contained in:
Jeremy Ashkenas
2009-12-31 17:50:12 -05:00
parent c187f2160f
commit adca8183de
6 changed files with 1133 additions and 1032 deletions

View File

@@ -39,7 +39,7 @@
<key>comment</key>
<string>match stuff like: funcName: =&gt; … </string>
<key>match</key>
<string>([a-zA-Z0-9_?.$]*)\s*(=|:)\s*([\w,\s]*?)\s*(=&gt;)</string>
<string>([a-zA-Z0-9_?.$*]*)\s*(=|:)\s*([\w,\s]*?)\s*(=&gt;)</string>
<key>name</key>
<string>meta.function.coffee</string>
</dict>
@@ -60,7 +60,7 @@
<key>comment</key>
<string>match stuff like: a =&gt; … </string>
<key>match</key>
<string>([a-zA-Z0-9_?., $]*)\s*(=&gt;)</string>
<string>([a-zA-Z0-9_?., $*]*)\s*(=&gt;)</string>
<key>name</key>
<string>meta.inline.function.coffee</string>
</dict>