stylish-haskell icon indicating copy to clipboard operation
stylish-haskell copied to clipboard

allow to hang closing paren/brace/bracket when possible

Open Pitometsu opened this issue 4 years ago • 0 comments

Type
  { field
  , field2 :: Int }
-- but
Type
  { field
  , field2 :: Int
  } deriving Generics

[ a
, b
, c ]
-- but
[ a
, b
, c
] ++ [d]

Or even without newline before closing paren at all.

Pitometsu avatar Jun 30 '20 09:06 Pitometsu