diff --git a/autoload/neoformat/formatters/cabal.vim b/autoload/neoformat/formatters/cabal.vim index 32c1b5a6..97bcb319 100644 --- a/autoload/neoformat/formatters/cabal.vim +++ b/autoload/neoformat/formatters/cabal.vim @@ -4,7 +4,9 @@ endfunction function! neoformat#formatters#cabal#cabalfmt() abort return { + \ 'args' : [expand('%:p')], \ 'exe' : 'cabal-fmt', - \ 'stdin' : 1, + \ 'no_append' : 1, + \ 'stdin' : 0 \ } endfunction