summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/ghc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/ghc.vim')
-rw-r--r--ale_linters/haskell/ghc.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/haskell/ghc.vim b/ale_linters/haskell/ghc.vim
index 5ddc15fe..c14274f4 100644
--- a/ale_linters/haskell/ghc.vim
+++ b/ale_linters/haskell/ghc.vim
@@ -60,7 +60,7 @@ call ale#linter#Define('haskell', {
\ 'name': 'ghc',
\ 'output_stream': 'stderr',
\ 'executable': 'ghc',
-\ 'command': g:ale#util#stdin_wrapper . ' .hs ghc -fno-code -v0',
+\ 'command': 'ghc -fno-code -v0 %t',
\ 'callback': 'ale_linters#haskell#ghc#Handle',
\})
@@ -68,6 +68,6 @@ call ale#linter#Define('haskell', {
\ 'name': 'stack-ghc',
\ 'output_stream': 'stderr',
\ 'executable': 'stack',
-\ 'command': g:ale#util#stdin_wrapper . ' .hs stack ghc -- -fno-code -v0',
+\ 'command': 'stack ghc -- -fno-code -v0 %t',
\ 'callback': 'ale_linters#haskell#ghc#Handle',
\})