Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions Language Modules/CoffeeScript.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!--
BBEdit Language Module for CoffeeScript

Put this file in
Put this file in
~/Library/Application Support/BBEdit/Language Modules
or equivalent.

Expand Down Expand Up @@ -93,6 +93,17 @@ Source: https://gist.github.com/1004413
(?&gt; " (?s: \\. | [^"] )*? (?: " ) ) |
(?&gt; ' (?s: \\. | [^'] )*? (?: ' ) )
)</string>
<key>Function Pattern</key>
<string><![CDATA[(?x:^(?P<leadspace>^\s*)
(?P<function>
(?P<function_name>[a-zA-z0-9_@]+)
\W*=\W*(\(.+\))?
(?s:.+?)
[\r\n](?P=leadspace)$
)
)]]>
</string>

</dict>
</dict>
</plist>
</plist>