mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-25 04:52:32 +00:00
Don't indent next expr after multiline binop
This commit is contained in:
parent
2013e308f7
commit
9e19baef59
1 changed files with 1 additions and 7 deletions
|
@ -549,13 +549,7 @@ fn fmt_binops<'a, 'buf>(
|
|||
buf.spaces(1);
|
||||
}
|
||||
|
||||
let next_indent = if is_multiline {
|
||||
indent + INDENT
|
||||
} else {
|
||||
indent
|
||||
};
|
||||
|
||||
loc_right_side.format_with_options(buf, apply_needs_parens, Newlines::Yes, next_indent);
|
||||
loc_right_side.format_with_options(buf, apply_needs_parens, Newlines::Yes, indent);
|
||||
}
|
||||
|
||||
fn format_spaces<'a, 'buf>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue