Permalink
Browse files

Revert “Check for a following } even without a space after {“

This change caused an indentation glitch after an if clause when putting the braces on the line following the if statement. Original commit was the prevent `{}` from increasing the indent, will have to revisit that in another fashion.

Fixes #29
  • Loading branch information...
infininight committed Jan 22, 2013
1 parent 1bc1394 commit bb576b557518802c458d85bc2c0a7430fe90e1a0
Showing with 1 addition and 1 deletion.
  1. +1 −1 Preferences/Indentation Rules.tmPreferences
@@ -21,7 +21,7 @@
</string>
<key>increaseIndentPattern</key>
<string>(?x)
- ( \{ (?! .* \} ) .*
+ ( \{ (?! .+ \} ) .*
| array\(
| (\[)
| ((else)?if|else|for(each)?|while|switch) .* :

0 comments on commit bb576b5

Please sign in to comment.