By default scalafmt will reformat code like this
myList(elem =>
elem
.doThing
.doOtherThing
)
to look like this
myList(
elem =>
elem
.doThing
.doOtherThing
)
How can it be configured to leave the anonymous function parameter on the same line? Note that it already does this if you use curly brackets instead of parens.