Fix #858 - Fix the stack ghc-mod command

This commit is contained in:
w0rp 2017-08-18 19:33:23 +01:00
parent 2560cdd56e
commit 41c4f3431c

View File

@ -11,6 +11,6 @@ call ale#linter#Define('haskell', {
call ale#linter#Define('haskell', {
\ 'name': 'stack-ghc-mod',
\ 'executable': 'stack',
\ 'command': 'stack exec ghc-mod --map-file %s=%t check %s',
\ 'command': 'stack exec ghc-mod -- --map-file %s=%t check %s',
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})