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 10
10
<string >^\s*(\}|\]|else|catch|finally|else\s+if\s+\S.*)$ </string >
11
11
<key >increaseIndentPattern </key >
12
12
<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 >
21
23
</dict >
22
24
</dict >
23
25
</plist >
You can’t perform that action at this time.
0 commit comments