summaryrefslogtreecommitdiff
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/ale-haskell.txt11
-rw-r--r--doc/ale.txt1
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/ale-haskell.txt b/doc/ale-haskell.txt
index a4db683b..2247eddc 100644
--- a/doc/ale-haskell.txt
+++ b/doc/ale-haskell.txt
@@ -108,6 +108,17 @@ g:ale_haskell_stack_build_options *g:ale_haskell_stack_build_options*
programs will be slower unless you separately rebuild them outside of ALE.
===============================================================================
+stack-ghc *ale-haskell-stack-ghc*
+
+g:ale_haskell_stack_ghc_options *g:ale_haskell_stack_ghc_options*
+ *b:ale_haskell_stack_ghc_options*
+ Type: |String|
+ Default: `'-fno-code -v0'`
+
+ This variable can be changed to modify flags given to ghc through `stack
+ ghc`
+
+===============================================================================
stylish-haskell *ale-haskell-stylish-haskell*
g:ale_haskell_stylish_haskell_executable
diff --git a/doc/ale.txt b/doc/ale.txt
index ac71ab83..54d63741 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -140,6 +140,7 @@ CONTENTS *ale-contents*
hfmt................................|ale-haskell-hfmt|
hlint...............................|ale-haskell-hlint|
stack-build.........................|ale-haskell-stack-build|
+ stack-ghc...........................|ale-haskell-stack-ghc|
stylish-haskell.....................|ale-haskell-stylish-haskell|
hie.................................|ale-haskell-hie|
hcl...................................|ale-hcl-options|