Skip to content

Conversation

kitbellew
Copy link
Collaborator

Previously, and still for other values of newlines.source, we force breaks over the entire else chain. Also, in FormatOps, treat else<NL> as opt-braces. Fixes #4104.

Previously, and still for other values of `newlines.source`, we force
breaks over the entire `else` chain.
@kitbellew kitbellew merged commit d5420c9 into scalameta:master Jul 15, 2024
@kitbellew kitbellew deleted the 4104 branch July 15, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undesirable formatting of scala3 nested if statements
2 participants