diff options
author | Ian Shipman <ics.github@gambolingpangolin.com> | 2019-04-17 08:26:09 -0500 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2019-04-17 14:26:09 +0100 |
commit | 2eb68f6d23f51c33f3d64a15172c869e71d7829b (patch) | |
tree | f7fc87ffc40668159c21f5d1261a82bbb07163eb /ale_linters/haskell/stack_ghc.vim | |
parent | 104980e40bf2d2fdd100c04aba73d5c1ad2660ab (diff) | |
download | ale-2eb68f6d23f51c33f3d64a15172c869e71d7829b.zip |
#1791 Set the working directory for cabal and stack
Diffstat (limited to 'ale_linters/haskell/stack_ghc.vim')
-rw-r--r-- | ale_linters/haskell/stack_ghc.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/haskell/stack_ghc.vim b/ale_linters/haskell/stack_ghc.vim index 06af7f6d..c345fe43 100644 --- a/ale_linters/haskell/stack_ghc.vim +++ b/ale_linters/haskell/stack_ghc.vim @@ -4,7 +4,8 @@ call ale#Set('haskell_stack_ghc_options', '-fno-code -v0') function! ale_linters#haskell#stack_ghc#GetCommand(buffer) abort - return ale#handlers#haskell#GetStackExecutable(a:buffer) + return ale#path#BufferCdString(a:buffer) + \ . ale#handlers#haskell#GetStackExecutable(a:buffer) \ . ' ghc -- ' \ . ale#Var(a:buffer, 'haskell_stack_ghc_options') \ . ' %t' |