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

call ale#linter#Define('haskell', {
\   'name': 'stack_ghc',
\   'aliases': ['stack-ghc'],
\   'output_stream': 'stderr',
\   'executable_callback': 'ale#handlers#haskell#GetStackExecutable',
\   'command': 'stack ghc -- -fno-code -v0 %t',
\   'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})