File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1010 <string >^\s*(\}|\]|else|catch|finally|else\s+if\s+\S.*)$ </string >
1111 <key >increaseIndentPattern </key >
1212 <string >(?x)
13- ^\s*
14- (.*class
15- |[a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)> \s*$)) # function that is not one line
16- |[a-zA-Z\$_](\w|\$|\.)*\s*(:|=)\s*((if|while)(?!.*?then)|for|$) # assignment using multiline if/while/for
17- |(if|while|unless)\b(?!.*?then)|(for|switch|when|loop)\b
18- |(else|try|finally|catch\s+\S.*|else\s+if\s+\S.*)\s*$
19- |.*[-=]> $
20- |.*[\{\[]$) </string >
13+ ^\s*
14+ ( class\b
15+ | [a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)> \s*$)) # function that is not one line
16+ | [a-zA-Z\$_](\w|\$|\.)*\s*(:|=)\s*((if|while)(?!.*?then)|for|$) # assignment using multiline if/while/for
17+ | (if|while|unless)\b(?!.*?then)|(for|switch|when|loop)\b
18+ | (else|try|finally|catch\s+\S.*|else\s+if\s+\S.*)\s*$
19+ | .*[-=]> $
20+ | .*[\{\[]$
21+ )
22+ </string >
2123 </dict >
2224</dict >
2325</plist >
You can’t perform that action at this time.
0 commit comments