mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-23 19:41:57 +08:00
#1791 Set the working directory for cabal and stack
This commit is contained in:
@@ -10,8 +10,8 @@ Execute(The linter should not be executed when there's no stack.yaml file):
|
||||
Execute(The linter should be executed when there is a stack.yaml file):
|
||||
call ale#test#SetFilename('stack_ghc_paths/test.hs')
|
||||
|
||||
AssertLinter 'stack', 'stack ghc -- -fno-code -v0 %t'
|
||||
AssertLinter 'stack', ale#path#BufferCdString(bufnr('')) . 'stack ghc -- -fno-code -v0 %t'
|
||||
|
||||
let b:ale_haskell_stack_ghc_options = 'foobar'
|
||||
|
||||
AssertLinter 'stack', 'stack ghc -- foobar %t'
|
||||
AssertLinter 'stack', ale#path#BufferCdString(bufnr('')) . 'stack ghc -- foobar %t'
|
||||
|
||||
Reference in New Issue
Block a user