Whenever the user calls a Prettify this file command, it should be possible to run the file through stylish-haskell, updating the buffer immediately.
Optionally, the user could leave an option set on preferences that whenever the file is saved it first passes through prettification.
Currently I leave a watch program doing this whenever the file changes.
The only downside is that stylish-haskell has to be installed, though it is on LTS.
Whenever the user calls a
Prettify this filecommand, it should be possible to run the file through stylish-haskell, updating the buffer immediately.Optionally, the user could leave an option set on preferences that whenever the file is saved it first passes through prettification.
Currently I leave a watch program doing this whenever the file changes.
The only downside is that
stylish-haskellhas to be installed, though it is on LTS.