why does ktfmt format this ``` val context = desc...
# ktfmt
c
why does ktfmt format this
Copy code
val context = describe("The Failgood DSL") {
    ...
}
to this:
Copy code
val context = 
    describe("The Failgood DSL") {
       ...
}
its the dsl of my test runner and that formatting costs me one indentation level.
n
This is part of our lambda formatting rule, which oh boy is complicated and also has a long discussion about it. It's unfortunate for your use case, but we cannot achieve it without a tradeoff for other use cases or adding a ton more complexity into the logic. If you are feeling daring, feel free to try to touch that yourself. Let me know if you need code pointers
c
i can always try! where would i start?