summaryrefslogtreecommitdiff
path: root/doc/ale-haskell.txt
diff options
context:
space:
mode:
authorJake Zimmerman <zimmerman.jake@gmail.com>2017-07-11 07:05:13 -0500
committerw0rp <w0rp@users.noreply.github.com>2017-07-11 13:05:13 +0100
commit768f761017e4d67d8724684df874006d5b04147d (patch)
treed7be5238419ab11313ded9edd06d73547ec578e5 /doc/ale-haskell.txt
parent05d3bb12ddea96b8f93b6e06eea94c4969dc5c72 (diff)
downloadale-768f761017e4d67d8724684df874006d5b04147d.zip
Prefer --fast for stack-build (#754)
* Vim scripts shouldn't have hyphens Especially not ones that will be autoloaded. You can't have a hyphen in a function name, so autoloading functions based on filename will fail. * Add g:haskell_stack_build_options, default: --fast If we're going to use the --fast option, we may as well go the whole 9 yards and let the user configure the 'stack build' flags. * Create documentation for stack-build options
Diffstat (limited to 'doc/ale-haskell.txt')
-rw-r--r--doc/ale-haskell.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/ale-haskell.txt b/doc/ale-haskell.txt
new file mode 100644
index 00000000..34d897ba
--- /dev/null
+++ b/doc/ale-haskell.txt
@@ -0,0 +1,16 @@
+===============================================================================
+ALE Haskell Integration *ale-haskell-options*
+
+===============================================================================
+stack-build *ale-haskell-stack-build*
+
+g:ale_haskell_stack_build_options *g:ale_haskell_stack_build_options*
+ *b:ale_haskell_stack_build_options*
+ Type: |String|
+ Default: `'--fast'`
+
+ We default to using `'--fast'`. Since Stack generates binaries, your
+ programs will be slower unless you separately rebuild them outside of ALE.
+
+===============================================================================
+ vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: