26 lines
784 B
Plaintext
26 lines
784 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>name</key>
|
|
<string>Indent</string>
|
|
<key>scope</key>
|
|
<string>source.coffee</string>
|
|
<key>settings</key>
|
|
<dict>
|
|
<key>decreaseIndentPattern</key>
|
|
<string>^\s*(\}|\]|else|catch|finally)$</string>
|
|
<key>increaseIndentPattern</key>
|
|
<string>(?x)
|
|
^\s*
|
|
(.*class
|
|
|[a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)>\s*$)) # function that is not one line
|
|
|[a-zA-Z\$_](\w|\$|\.)*\s*(:|=)\s*((if|while)(?!.*?then)|for|$) # assignment using multiline if/while/for
|
|
|(if|while)\b(?!.*?then)|for\b
|
|
|(try|finally|catch\s+\S.*)\s*$
|
|
|.*[-=]>$
|
|
|.*[\{\[]$)</string>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|