forked from scalameta/scalafmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Router: possibly keep LF before select, and indent
Currently, the code doesn't introduce newlines into select chains even if their length exceeds the maximum line length. It also results in missing indent when a comment is in the middle of such a chain. Fix both problems, by allowing a newline if one is present in the input. Fixes scalameta#1334.
- Loading branch information
Albert Meltzer
committed
Nov 24, 2019
1 parent
b389ed8
commit bef40c2
Showing
2 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters