You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error detected while processing BufWrite Autocommands for "*.hs"..function vim_fourmolu#FourmoluWriteRun[15]
..BufWrite Autocommands for "*.hs"..function vim_fourmolu#FourmoluWriteRun[9]
..vim_fourmolu#FourmoluFmt: .........
Line 16
General Problem
Setup
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jan 01 1980 00:00:00)
macOS version - arm64
vimrc has:
let g:fourmolu_write = 1
fourmolu is in the $PATH and functions properly when called.
Expected Behavior: Format on save. Actual behavior: Errors only
The text was updated successfully, but these errors were encountered:
The General Problem line seems to be emitted by fourmolu so it's being invoked. Can you try running vim with logging to see if there's any problems in the execution? And what happens if you call FourmoluFmt manually?
vim -Vvimlog.txt vimtest.hs against the test code from https://fourmolu.github.io/ would be a good baseline.
Error
Setup
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jan 01 1980 00:00:00)
macOS version - arm64
vimrc has:
fourmolu
is in the$PATH
and functions properly when called.Expected Behavior: Format on save.
Actual behavior: Errors only
The text was updated successfully, but these errors were encountered: