diff options
author | Jake Zimmerman <zimmerman.jake@gmail.com> | 2017-07-09 16:39:33 -0500 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-07-09 22:39:33 +0100 |
commit | b50a7318fbf8836b820df9d10e0fc6ffba6bcd1e (patch) | |
tree | 1009c0c1470ecf72576bd43a23d9b23c9d4c78eb /ale_linters/haskell/ghc.vim | |
parent | 47ff5148786e6a9b761c9b23fd119a1121cd87dd (diff) | |
download | ale-b50a7318fbf8836b820df9d10e0fc6ffba6bcd1e.zip |
Add new Haskell linter (#742)
* Add stack-build linter for Haskell
The stack-build linter works better than the other two linters when
you're working with an entire Haskell project. It builds the project
entirely and reports any errors.
The other two Haskell GHC linters only work on single files, which can
result in spurious errors (for example, not being able to find imports).
* Document all available Haskell linters
* Split GHC checkers into separate files
Diffstat (limited to 'ale_linters/haskell/ghc.vim')
-rw-r--r-- | ale_linters/haskell/ghc.vim | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ale_linters/haskell/ghc.vim b/ale_linters/haskell/ghc.vim index ee6370b5..fdf22f9f 100644 --- a/ale_linters/haskell/ghc.vim +++ b/ale_linters/haskell/ghc.vim @@ -8,11 +8,3 @@ call ale#linter#Define('haskell', { \ 'command': 'ghc -fno-code -v0 %t', \ 'callback': 'ale#handlers#haskell#HandleGHCFormat', \}) - -call ale#linter#Define('haskell', { -\ 'name': 'stack-ghc', -\ 'output_stream': 'stderr', -\ 'executable': 'stack', -\ 'command': 'stack ghc -- -fno-code -v0 %t', -\ 'callback': 'ale#handlers#haskell#HandleGHCFormat', -\}) |