Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router: src=keep force NL only for matching else #4105

Merged
merged 3 commits into from
Jul 15, 2024

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
9 checks passed
@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