Open xave opened 1 year ago
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.
I'll try that.
Steps:
create /tmp/vimTest.hs
with test code as mentioned
vimrc:
let g:fourmolu_write = 1
let g:fourmolu_executable = "fourmolu"
fourmolu
executable is on $PATH
Result:
same error as initially presented
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