Skip to content

Commit

Permalink
bla
Browse files Browse the repository at this point in the history
  • Loading branch information
infinisil committed Apr 19, 2024
1 parent a8b578d commit 67f47e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nixfmt/Pretty.hs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ instance Pretty Binder where
pretty inherit
<> ( if null ids
then pretty semicolon
else line <> nest (sepBy (if length ids < 4 then line else hardline) ids <> line' <> pretty semicolon)
else line <> nest (sepBy (if length ids < 10 then line else hardline) ids <> line' <> pretty semicolon)
)
-- `inherit (foo) bar` statement
pretty (Inherit inherit (Just source) ids semicolon) =
Expand Down

0 comments on commit 67f47e7

Please sign in to comment.