Closed Eason0210 closed 1 month ago
Fair enough. If the maintainer of the original formatter recommends switching, then it seems logical for us to switch as well, to encourage best practices as determined by each language's community.
Let me see if I can add a test case that will prevent a regression like this, too... I've done some work on more robust formatter tests that can leverage an entire project directory.
Nevermind, no new tests needed, we just need to run the existing ones again from time to time. That might be a good idea, run the full formatter test suite on a monthly schedule or something and have a bot file an issue for ones that are failing.
Hi,
Because the default brittany for haskell-mode is unmaintained, and the repos recommand to use ormolu instead.
But the
ormolu
(version: ormolu 0.7.7.0) don't works with cabal project, will get below error message in *aphelia-ormolu-log* buffer:my configs:
with below config, will fix the issue.
Expected this can be fixed in apheleia.
Maybe it is time to change the default backend for haskell-mode to ormolu instead of brittany?