Add hdevtools linter for haskell

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

* Add testing for previous major release of ghc
This commit is contained in:
Rob Berry
2017-02-14 22:47:53 +00:00
parent c4afd72792
commit 06fe8a043f
4 changed files with 34 additions and 18 deletions

View File

@@ -1,10 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: ghc for Haskell files
if exists('g:loaded_ale_linters_haskell_ghc')
finish
endif
call ale#linter#Define('haskell', {
\ 'name': 'ghc',
\ 'output_stream': 'stderr',

View File

@@ -1,4 +1,4 @@
" Author: w0rp <devw0rp@gmail.com>
" Author: rob-b
" Description: hdevtools for Haskell files
call ale#linter#Define('haskell', {