summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorRob Berry <rob@luvhate.us>2017-02-14 22:47:53 +0000
committerRob Berry <rob@luvhate.us>2017-02-17 17:18:38 +0000
commit06fe8a043f5046405327984ab05641d3280f4cbc (patch)
treeb8004a738659cc23e7feef8ae67b6341d3cf444a /ale_linters
parentc4afd727926ec11d1f980847c48f0828784402d6 (diff)
downloadale-06fe8a043f5046405327984ab05641d3280f4cbc.zip
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
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/haskell/ghc.vim4
-rw-r--r--ale_linters/haskell/hdevtools.vim2
2 files changed, 1 insertions, 5 deletions
diff --git a/ale_linters/haskell/ghc.vim b/ale_linters/haskell/ghc.vim
index 0e3b4259..270f8ab1 100644
--- a/ale_linters/haskell/ghc.vim
+++ b/ale_linters/haskell/ghc.vim
@@ -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',
diff --git a/ale_linters/haskell/hdevtools.vim b/ale_linters/haskell/hdevtools.vim
index a5bebd97..92bb8279 100644
--- a/ale_linters/haskell/hdevtools.vim
+++ b/ale_linters/haskell/hdevtools.vim
@@ -1,4 +1,4 @@
-" Author: w0rp <devw0rp@gmail.com>
+" Author: rob-b
" Description: hdevtools for Haskell files
call ale#linter#Define('haskell', {