mirror of
https://github.com/kennethreitz-archive/kJS.tmbundle.git
synced 2026-06-05 23:50:19 +00:00
• fixed function pattern (both in folding and meta.function)
git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@1786 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<string>htc</string>
|
||||
</array>
|
||||
<key>foldingStartMarker</key>
|
||||
<string>^\s*([A-Za-z0-9.]+s*=\s*)?(function)\b</string>
|
||||
<string>^\s*([A-Za-z0-9.]+\s*=\s*)?(function)\b</string>
|
||||
<key>foldingStopMarker</key>
|
||||
<string>^\s*\}</string>
|
||||
<key>keyEquivalent</key>
|
||||
@@ -39,7 +39,7 @@
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>^\s*(function)\s*([a-zA-Z_]\w*)\s*\(([^)]*)\)</string>
|
||||
<string>^\s*(function)\s+([a-zA-Z_]\w*)\s*\(([^)]*)\)</string>
|
||||
<key>name</key>
|
||||
<string>meta.function.js</string>
|
||||
</dict>
|
||||
|
||||
Reference in New Issue
Block a user