nwolverson / purescript-language-server

MIT License
184 stars 41 forks source link

Formatter (case split): extra new lines are created between cases after formatting #122

Closed raptazure closed 3 years ago

raptazure commented 3 years ago

Extra new lines are created between cases after formatting, such as: image

Instead of: image

And the latter seems more elegant and tidy (Idris / Agda and other languages that support case-split usually obey this format). Is there a way to avoid adding newlines after formatting? Thanks for answering!

nwolverson commented 3 years ago

I see you have raised an issue with purty so going to close this here.