-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
There's inconsistency of how closing bracket is placed with default Fantomas settings:
// closing bracket is on the new line
seq {
//
return ()
}
// closing bracket is on the expression line
seq (fun _ ->
//
())
// closing bracket is on the new line
someTupledFunction (
"A very long string making all of this multi-line",
"A very long string making all of this multi-line"
)
I suggest we could try to move closing bracket in lambdas to a new line, so it's more inline with other similar constructions. It would also make it easier to edit the lambda if the closing bracket was on a new line:
seq (fun _ ->
//
()
)
Moving the closing bracket like this is already supported in Fantomas, but it's not turned on by default.
En3Tho, josh-degraw, Lanayx, cartermp, Illusion466 and 2 more
Metadata
Metadata
Assignees
Labels
No labels