Skip to content

Commit 780a970

Browse files
committed
Support async keyword in indent patterns
1 parent 5eb283b commit 780a970

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Preferences/Miscellaneous.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<key>decreaseIndentPattern</key>
1212
<string>^\s*(elif|else|except|finally)\b.*:|^\s*(\}|\])</string>
1313
<key>increaseIndentPattern</key>
14-
<string>^\s*(class|def|elif|else|except|finally|for|if|try|with|while)\b.*:\s*$|(\{|\[)\s*$</string>
14+
<string>^\s*(class|((async\s+)?(def|with|for))|elif|else|except|finally|if|try|while)\b.*:\s*$|(\{|\[)\s*$</string>
1515
<key>shellVariables</key>
1616
<array>
1717
<dict>

0 commit comments

Comments
 (0)