summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-04-07 22:50:26 +0100
committerw0rp <devw0rp@gmail.com>2018-04-07 22:50:31 +0100
commitbb775e4e22d1880bd015fbc3ea7fa203c9eeb6f9 (patch)
tree3128a58316b84b1b29b3f1abccfb2876681f6a8d /doc
parentc5d3af04fced61a654029a07139faa365c4a8534 (diff)
downloadale-bb775e4e22d1880bd015fbc3ea7fa203c9eeb6f9.zip
Fix #1479 - Respect g:hdevtools_options for hdevtools
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-haskell.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/ale-haskell.txt b/doc/ale-haskell.txt
index 9fab39bf..09ecd92d 100644
--- a/doc/ale-haskell.txt
+++ b/doc/ale-haskell.txt
@@ -36,10 +36,16 @@ g:ale_haskell_hdevtools_executable *g:ale_haskell_hdevtools_executable*
g:ale_haskell_hdevtools_options *g:ale_haskell_hdevtools_options*
*b:ale_haskell_hdevtools_options*
Type: |String|
- Default: `'-g -Wall'`
+ Default: `get(g:, 'hdevtools_options', '-g -Wall')`
This variable can be changed to modify flags given to hdevtools.
+ The hdevtools documentation recommends setting GHC options for `hdevtools`
+ with `g:hdevtools_options`. ALE will use the value of `g:hdevtools_options`
+ for the value of `g:ale_haskell_hdevtools_options` by default, so this
+ option can be respected and overridden specifically for ALE.
+
+
===============================================================================
hfmt *ale-haskell-hfmt*