Closed IcaroBritto closed 5 years ago
swift-mode
doesn't support that indentation.
When a method takes multiple functions, I recommend you to pass them with explicit labels:
func myFunction() {
self.perform(
batchUpdates: {
// ...
},
completion: {
// ...
}
)
}
Google also recommends so in Google's swift style guide.
Humm, I see.
Thank you for the replay, by the way :)
Hi everyone. I'm really new to the Emacs world and I just started using swift-mode.
I really don't know how to configure the indentation for a specific situation that I'm facing. So the current behavior is this one:
And the behavior that I want is this one:
Can anyone help me with that? Thank you!