assert and with should be followed with a newline
This commit is contained in:
parent
22097ebe1c
commit
b391db0bf6
|
@ -170,8 +170,8 @@ prettyNix = withoutParens . cata phi where
|
||||||
<$> align (text "else" <+> withoutParens falseBody)
|
<$> align (text "else" <+> withoutParens falseBody)
|
||||||
)
|
)
|
||||||
phi (NWith scope body) = leastPrecedence $
|
phi (NWith scope body) = leastPrecedence $
|
||||||
text "with" <+> withoutParens scope <> semi <+> withoutParens body
|
text "with" <+> withoutParens scope <> semi <$> align (withoutParens body)
|
||||||
phi (NAssert cond body) = leastPrecedence $
|
phi (NAssert cond body) = leastPrecedence $
|
||||||
text "assert" <+> withoutParens cond <> semi <+> withoutParens body
|
text "assert" <+> withoutParens cond <> semi <$> align (withoutParens body)
|
||||||
|
|
||||||
recPrefix = text "rec" <> space
|
recPrefix = text "rec" <> space
|
||||||
|
|
Loading…
Reference in New Issue