Closed wedens closed 7 years ago
scalariform with default configuration performs following formatting:
val failingSessionManager = SessionManager[Task, Unit]( touchSession = _ => Task.delay( sys.error("touchSession should not be called") ), newSession = (_, _) => Task.delay( sys.error("newSession should not be called") ) ) def singletonSessionManager(s: Session[Unit]) = failingSessionManager.copy( touchSession = sessionId0 => Task.now { (sessionId0 === s.id).option(s) } )
I'd rather have it formatted like this:
Is it a bug, or maybe there is some option to tune this behaviour?
+1. This bug is driving me nuts :).
Seems to be fixed in master. I tried it.
scalariform with default configuration performs following formatting:
I'd rather have it formatted like this:
Is it a bug, or maybe there is some option to tune this behaviour?