diff --git a/scalafmt-core/shared/src/main/scala/org/scalafmt/internal/Router.scala b/scalafmt-core/shared/src/main/scala/org/scalafmt/internal/Router.scala index dc605ed077..89a6b6e30a 100644 --- a/scalafmt-core/shared/src/main/scala/org/scalafmt/internal/Router.scala +++ b/scalafmt-core/shared/src/main/scala/org/scalafmt/internal/Router.scala @@ -774,7 +774,7 @@ class Router(formatOps: FormatOps) { else style.align.openParenCallSite } && (!handleImplicit || style.newlines.forceAfterImplicitParamListModifier) - val alignTuple = align && isTuple(leftOwner) + val alignTuple = align && isTuple(leftOwner) && !onlyConfigStyle val keepConfigStyleSplit = !sourceIgnored && style.optIn.configStyleArguments && newlines != 0 diff --git a/scalafmt-tests/src/test/resources/default/Apply.stat b/scalafmt-tests/src/test/resources/default/Apply.stat index 6e6218ade2..90f4ccbbeb 100644 --- a/scalafmt-tests/src/test/resources/default/Apply.stat +++ b/scalafmt-tests/src/test/resources/default/Apply.stat @@ -1360,3 +1360,27 @@ object a { "Startup timed out. This is usually related to actor system host setting or host name resolution misconfiguration.", e) } +<<< #2033 +align.openParenCallSite = true +=== +class Test { + val testCases = List( + ("Old state", "Campaign data", "Expected state"), + ( + 1, + 2, + 3 + ) + ) +} +>>> +class Test { + val testCases = List( + ("Old state", "Campaign data", "Expected state"), + ( + 1, + 2, + 3 + ) + ) +}