summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/stack-build.vim
blob: 1c2a06f65ec5571c027bedcf3b87a5774b08d044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
" Author: Jake Zimmerman <jake@zimmerman.io>
" Description: Like stack-ghc, but for entire projects
"
" Note: Ideally, this would *only* typecheck. Right now, it also does codegen.
" See <https://github.com/commercialhaskell/stack/issues/977>.

call ale#linter#Define('haskell', {
\   'name': 'stack-build',
\   'output_stream': 'stderr',
\   'executable': 'stack',
\   'command': 'stack build',
\   'lint_file': 1,
\   'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})