summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/stack_ghc.vim
blob: 0367dc247cc247639cae2c84e28301cf09758117 (plain)
1
2
3
4
5
6
7
8
9
10
" Author: w0rp <devw0rp@gmail.com>
" Description: ghc for Haskell files, using Stack

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',
\})