Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Indentation Rules.tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>increaseIndentPattern</key>
<string>(?x)
^\s*
( class\b
( .*\bclass\b(?!\s*:) # class keyword without colon after it (otherwise we are in object with property name "class")
| [a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)&gt;\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|unless)\b(?!.*?then)|(for|switch|when|loop)\b
Expand Down