Skip to content

Commit

Permalink
Documentation: add more context for source=keep
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Apr 3, 2024
1 parent 065054b commit a0c65bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1518,6 +1518,13 @@ alternatives.

This approach attempts to preserve line breaks in the input whenever possible.

> Keep in mind that other parameters _will_ take precedence if they require
> (or prohibit) breaks in specific places (and that includes their default
> values).
>
> For instance, default for [`binPack.unsafeCallSite`](#binpackunsafexxxsite)
> will not allow multiple arguments per line in a multiline expression.
#### `newlines.source=fold,unfold`

These two approaches _completely ignore_ existing line breaks, except around
Expand Down

0 comments on commit a0c65bb

Please sign in to comment.