sdiehl / vim-ormolu

Plugin for formatting Haskell source code
MIT License
39 stars 3 forks source link

Error on save (i.e. RunOrmolu()) #13

Open SagaraBattousai opened 1 year ago

SagaraBattousai commented 1 year ago

Whenever I call RunOrmolu() or save I get this error message:

Error detected while processing BufWrite Autocommands for "*.hs"..function 70_OrmoluSave[3]..70_OrmoluHaskell[2]..70_RunOrmolu: line 14: E484: Cannot open file ~/AppData/Local/Temp/VNJ3FAB.tmp

The temp filename changes each time and is absent from the directory (and still wont work even when I create the (empty) file).

Any ideas? ormolu works perfectly from the command line (powershell)