Skip to content

Commit

Permalink
fixed #179
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Mar 27, 2013
1 parent 4c7c4aa commit b1ea03b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -105,7 +105,7 @@ public Indent getChildIndent(ASTNode node) {
// todo: not a smart solution
//noinspection unchecked
boolean insideCall = PsiTreeUtil.getParentOfType(node.getPsi(), ErlangArgumentDefinition.class, ErlangParenthesizedExpression.class) != null;
return insideCall ? Indent.getContinuationIndent() : Indent.getNormalIndent();
return insideCall ? Indent.getNormalIndent() : Indent.getNoneIndent();
}
if (needIndent(parentType)) {
return Indent.getNormalIndent();
Expand Down
2 changes: 1 addition & 1 deletion testData/formatter/125-after.erl
@@ -1,2 +1,2 @@
transform_response(#bid{adid = Adid, impid = Impid, nurl = Nurl, adm = Adm,
price = Price, iurl = Iurl, landing_page_url = Landing}) -> ok.
price = Price, iurl = Iurl, landing_page_url = Landing}) -> ok.
4 changes: 2 additions & 2 deletions testData/formatter/171-after.erl
@@ -1,5 +1,5 @@
convert_geo_to_geodata(Ip, Carrier, undefined) ->
#geodata{
ip = Ip,
carrier = Carrier
ip = Ip,
carrier = Carrier
}.

0 comments on commit b1ea03b

Please sign in to comment.