mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-30 16:14:30 +08:00
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`.
This commit is contained in:
@@ -107,6 +107,17 @@ 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.
|
||||
|
||||
===============================================================================
|
||||
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*
|
||||
|
||||
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user