Skip to content

Commit

Permalink
Router: use indentCallSiteOnce to callsite only
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed May 17, 2024
1 parent 416c540 commit 1fb77f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ class Router(formatOps: FormatOps) {
case _ => NoPolicy
}
val indentOncePolicy =
if (style.binPack.indentCallSiteOnce) {
if (callSite && style.binPack.indentCallSiteOnce) {
val trigger = getIndentTrigger(leftOwner)
Policy.on(lastFT.left) {
case Decision(FormatToken(LeftParenOrBracket(), _, m), s)
Expand Down

0 comments on commit 1fb77f2

Please sign in to comment.