diff --git a/src/Nixfmt/Pretty.hs b/src/Nixfmt/Pretty.hs index 2ffdfd6f..fc658079 100644 --- a/src/Nixfmt/Pretty.hs +++ b/src/Nixfmt/Pretty.hs @@ -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) =