Skip to content

Commit 113b494

Browse files
allowing indentation for if's
1 parent e1ff89c commit 113b494

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/indent.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,8 +1848,7 @@ void indent_text(void)
18481848

18491849
else if ( pc->type == CT_PAREN_OPEN
18501850
&& !chunk_is_newline(next)
1851-
&& !cpd.settings[UO_indent_align_paren].b
1852-
&& !(pc->flags & PCF_IN_SPAREN))
1851+
&& !cpd.settings[UO_indent_align_paren].b)
18531852
{
18541853
idx = frm.pse_tos - 1;
18551854
while (idx > 0 && are_chunks_in_same_line(frm.pse[idx].pc, frm.pse[frm.pse_tos].pc))

0 commit comments

Comments
 (0)