Skip to content

Commit

Permalink
FormatOps: set space/newline splits on diff lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Dec 30, 2021
1 parent f96e495 commit 95d11da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ class FormatOps(
def getSplits(spaceSplit: Split) =
(
spaceSplit.withIndents(spaceIndents),
getNlSplit(1)(spaceSplit.fileLine)
getNlSplit(1)(nextLine(spaceSplit.fileLine))
)
def getSlb(end: T, excl: TokenRanges)(implicit fileLine: FileLine) =
SingleLineBlock(end, exclude = excl, noSyntaxNL = true)
Expand Down

0 comments on commit 95d11da

Please sign in to comment.