Permalink
Browse files

Allow methods to appear after {} without breaking indent

  • Loading branch information...
1 parent 35b5170 commit 4aa0ec675a0fd2a0a9020c0dab734e1674f28712 @a-ross-cohen a-ross-cohen committed with infininight Feb 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Preferences/Miscellaneous.plist
@@ -9,7 +9,7 @@
<key>settings</key>
<dict>
<key>decreaseIndentPattern</key>
- <string>^\s*([}\]],?\s*(#|$)|(end|rescue|ensure|else|elsif|when)\b)</string>
+ <string>^\s*([}\]](,?\s*(#|$)|\.[a-zA-Z_]\w*\b)|(end|rescue|ensure|else|elsif|when)\b)</string>
<key>increaseIndentPattern</key>
<string>(?x)^
(\s*

0 comments on commit 4aa0ec6

Please sign in to comment.