summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEvan Borden <eborden@users.noreply.github.com>2018-08-23 18:14:59 -0400
committerw0rp <w0rp@users.noreply.github.com>2018-08-23 23:14:59 +0100
commit26005242744c6d88f0ec728964754909f4a73d94 (patch)
tree151f180a53f8d0e025a555699c0cf024d94e3896 /doc
parent81d0eccfab4aa194702b71cf7f950c0fdcbd3caa (diff)
downloadale-26005242744c6d88f0ec728964754909f4a73d94.zip
Add stylish-haskell as a fixer (#1837)
* Add stylish-haskell as a fixer `stylish-haskell` is a common formatting tool for the haskell toolchain. It is not as advanced as `brittany` or `hindent`, but it is commonly used for formatting of imports and data declarations. This adds it as a fixer in ALE.
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-haskell.txt10
-rw-r--r--doc/ale.txt3
2 files changed, 12 insertions, 1 deletions
diff --git a/doc/ale-haskell.txt b/doc/ale-haskell.txt
index 379cd987..9bc9263a 100644
--- a/doc/ale-haskell.txt
+++ b/doc/ale-haskell.txt
@@ -78,6 +78,16 @@ g:ale_haskell_stack_build_options *g:ale_haskell_stack_build_options*
We default to using `'--fast'`. Since Stack generates binaries, your
programs will be slower unless you separately rebuild them outside of ALE.
+===============================================================================
+stylish-haskell *ale-haskell-stylish-haskell*
+
+g:ale_haskell_stylish_haskell_executable
+ *g:ale_haskell_stylish_haskell_executable*
+ *b:ale_haskell_stylish_haskell_executable*
+ Type: |String|
+ Default: `'stylish-haskell'`
+
+ This variable can be changed to use a different executable for stylish-haskell.
===============================================================================
hie *ale-haskell-hie*
diff --git a/doc/ale.txt b/doc/ale.txt
index 416a48ff..2d3efa34 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -111,6 +111,7 @@ CONTENTS *ale-contents*
hdevtools...........................|ale-haskell-hdevtools|
hfmt................................|ale-haskell-hfmt|
stack-build.........................|ale-haskell-stack-build|
+ stylish-haskell.....................|ale-haskell-stylish-haskell|
hie.................................|ale-haskell-hie|
html..................................|ale-html-options|
htmlhint............................|ale-html-htmlhint|
@@ -380,7 +381,7 @@ Notes:
* Hack: `hack`, `hackfmt`, `hhast`
* Haml: `haml-lint`
* Handlebars: `ember-template-lint`
-* Haskell: `brittany`, `ghc`, `cabal-ghc`, `stack-ghc`, `stack-build`!!, `ghc-mod`, `stack-ghc-mod`, `hlint`, `hdevtools`, `hfmt`, `hie`
+* Haskell: `brittany`, `ghc`, `cabal-ghc`, `stylish-haskell`, `stack-ghc`, `stack-build`!!, `ghc-mod`, `stack-ghc-mod`, `hlint`, `hdevtools`, `hfmt`, `hie`
* HTML: `alex`!!, `HTMLHint`, `proselint`, `tidy`, `write-good`
* Idris: `idris`
* Java: `checkstyle`, `javac`, `google-java-format`, `PMD`