Closed sir4ur0n closed 3 years ago
I'm not sure this exists, but if there was something like https://editorconfig.org/ that allowed you to choose what executable + arguments to use to format any given file type that would be a nice general solution.
Hi,
Is there some way to configure the default GHC options (like extensions) not enabled by default, like
XTypeApplications
? We really don't want to repeat the pragma in each of our file...For the moment what we do in my team is:
However:
direnv
or run inside a nix-shell otherwise the code will be changed, cf https://github.com/tweag/ormolu/issues/452 Ormolu changes the code)I feel like supporting an Ormolu configuration file at the root of the project would be an improvement for such a use case.
I am aware of:
Thank you for Ormolu and cheers!