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 committed 2019-01-22 09:46:08 -05:00
1 parent f12d312aa4
commit e273f678ff
4 files changed
+25 -1

No files matched your search

@@ -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'