Add haskell_stack_ghc_options like …_cabal_ghc_…

Adds new option `g:haskell_stack_ghc_options` which passes options to
`stack ghc`. This is implemented similiarly to
`g:haskell_cabal_ghc_options`.
This commit is contained in:
Robert Estelle
2019-01-22 09:22:49 -05:00
parent f12d312aa4
commit e273f678ff
4 changed files with 25 additions and 1 deletions

View File

@@ -12,3 +12,6 @@ Execute(The linter should be executed when there is a stack.yaml file):
AssertLinter 'stack', 'stack ghc -- -fno-code -v0 %t'
let b:ale_haskell_stack_ghc_options = 'foobar'
AssertLinter 'stack', 'stack ghc -- foobar %t'