Closed
Description
There are several common cases where the emacs mode gets the indentation incorrect. I'll list the examples as I believe they should be formatted.
- One indent after open paren with no argument:
call_to_func(
a,
b,
c)
- Align
->
with arguments:
fn a_func_decl(a: int,
b: int)
-> int {
}
- Align field names:
foo(SomeStructName { a: int,
b: int })
foo(SomeStructName {a: int,
b: int})
Metadata
Metadata
Assignees
Labels
No labels