2018-07-20 14:30:16 +00:00
|
|
|
Before:
|
2021-03-01 20:11:10 +00:00
|
|
|
call ale#assert#SetUpLinterTest('haskell', 'cabal_ghc')
|
2018-07-20 14:30:16 +00:00
|
|
|
|
|
|
|
After:
|
2021-03-01 20:11:10 +00:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2018-07-20 14:30:16 +00:00
|
|
|
|
|
|
|
Execute(The options should be used in the command):
|
2021-03-01 20:11:10 +00:00
|
|
|
AssertLinterCwd '%s:h'
|
|
|
|
AssertLinter 'cabal', 'cabal exec -- ghc -fno-code -v0 %t'
|
2018-07-20 14:30:16 +00:00
|
|
|
|
|
|
|
let b:ale_haskell_cabal_ghc_options = 'foobar'
|
|
|
|
|
2021-03-01 20:11:10 +00:00
|
|
|
AssertLinter 'cabal', 'cabal exec -- ghc foobar %t'
|