mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-24 17:28:42 +08:00
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.
This commit is contained in:
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user