Closed mitchellwrosen closed 4 years ago
This was trivial to add. I patched it in beb1423.
In your buffer run:
set filetype=haskell
Then you can invoke whatever commands you like :call RunOrmolu()
or :call OrmoluBlock()
on the contents of the unsaved buffer.
Thanks!! :)
Currently,
vim-ormolu
requires you to save a file before formatting it. Would it be possible to runormolu
over the contents of the buffer instead?