c4afd72792
This adds support for the hdevtools haskell linter https://github.com/hdevtools/hdevtools The output for hdevtools is near identical to the ghc output so this also extracts the ghc handler into the handle file and adds tests
10 lines
275 B
VimL
10 lines
275 B
VimL
" Author: w0rp <devw0rp@gmail.com>
|
|
" Description: hdevtools for Haskell files
|
|
|
|
call ale#linter#Define('haskell', {
|
|
\ 'name': 'hdevtools',
|
|
\ 'executable': 'hdevtools',
|
|
\ 'command': 'hdevtools check -g -Wall -p %s %t',
|
|
\ 'callback': 'ale#handlers#HandleGhcFormat',
|
|
\})
|