ormolu.el
ormolu.el copied to clipboard
A formatter for Haskell source code
i'm repeatedly running into the issue ``` Invalid option `--stdin-input-file'` ``` when trying to format buffer, which i think is set by default ? setup config is simple and is...
ormolu has command line support (`--start-line` and `--end-line`) for formating a region, this could be useful in case where the file contains some chunks of Haskell code but not all...
Reformat-on-save is great, but it'd be helpful if I could configure Emacs to get _pretty close_ to Ormolu style as I edit it. E.g., currently, when I type `foo =barbaz`...
CPP is the reality in many files. We could add some limited support for it by: * Passing the `--tolerate-cpp` option. * Commenting CPP macros in some magic way before...