Open
Description
As noticed in #4224 (comment), non-standard formatting can make it harder to read and .cabal file.
We have now at least two good options for formatting .cabal files that we both support in HLS itself:
- cabal-gild
- cabal-fmt
Perhaps we should start using these formatters in HLS and add new CI jobs that make sure all our .cabal files are formatted accordingly.
If the output of the formatter looks unwieldy to us, we should reach out to the projects and discuss improvements.