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

Docs: clarify implicitParamListModifierForce #3523

Merged
merged 1 commit into from
Mar 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2134,8 +2134,9 @@ def format(code: String, age: Int)(implicit ev: Parser, c: Context): String

#### Force Before

> If set, forces newline before `implicit`. Otherwise, newline can still be
> added if the keyword would overflow the line.
> If set, forces newline before `implicit` (even if the parameter list would
> fit on one line). Otherwise, newline can still be added if the keyword would
> overflow the line.

```scala mdoc:scalafmt
maxColumn = 60
Expand All @@ -2146,9 +2147,10 @@ def format(code: String, age: Int)(implicit ev: Parser, c: Context): String

#### Force After

> If set, forces newline after `implicit`. Otherwise, newline can still be added
> unless `before` is true, or the entire implicit parameter list fits on a line,
> or config style is false.
> If set, forces newline after `implicit` (even if the parameter list would
> fit on one line). Otherwise, newline can still be added unless `before` is
> true, or the entire implicit parameter list fits on a line, or config style
> is false.

```scala mdoc:scalafmt
maxColumn = 60
Expand Down