summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorRobert Estelle <robertestelle@gmail.com>2019-01-22 09:22:49 -0500
committerRobert Estelle <robertestelle@gmail.com>2019-01-22 09:46:08 -0500
commite273f678fffe190ba3b22995ca8d91ab60fcf88d (patch)
treefd227afd7b1c847dcb084541ea8a485d0d5ad93b /test/command_callback
parentf12d312aa4aa49c4698056933030cd5adb60b489 (diff)
downloadale-e273f678fffe190ba3b22995ca8d91ab60fcf88d.zip
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`.
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_haskell_stack_ghc_command_callback.vader3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/command_callback/test_haskell_stack_ghc_command_callback.vader b/test/command_callback/test_haskell_stack_ghc_command_callback.vader
index 4adab583..f58f8b5f 100644
--- a/test/command_callback/test_haskell_stack_ghc_command_callback.vader
+++ b/test/command_callback/test_haskell_stack_ghc_command_callback.vader
@@ -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'