Permalink
Browse files

Auto-indent even where the trigger is not the first expr

  • Loading branch information...
1 parent 2ccc9ef commit f7023ae805ce9f46b35011ee010fbc154248f704 @djspiewak committed Apr 25, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 scala.xml
View
@@ -8,7 +8,7 @@
<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
<PROPERTY NAME="lineUpClosingBracket" VALUE="true" />
<PROPERTY NAME="indentNextLine"
- VALUE="\s*(((if|while|else\s+if|for)\s*\().*\)|else|case.*=>|(def|val|var|type).*=)\s*$"/>
+ VALUE="(.*((if|while|else\s+if|for)\s*\().*\)|\s*else|\s*case.*=>|.*(def|val|var|type).*=)\s*$"/>
<!-- set this to 'true' if you want to use GNU coding style -->
<PROPERTY NAME="doubleBracketIndent" VALUE="false" />
<PROPERTY NAME="commentStart" VALUE="/*" />

0 comments on commit f7023ae

Please sign in to comment.