From 06fe8a043f5046405327984ab05641d3280f4cbc Mon Sep 17 00:00:00 2001 From: Rob Berry Date: Tue, 14 Feb 2017 22:47:53 +0000 Subject: 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 --- ale_linters/haskell/ghc.vim | 4 ---- ale_linters/haskell/hdevtools.vim | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'ale_linters') 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 " 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 +" Author: rob-b " Description: hdevtools for Haskell files call ale#linter#Define('haskell', { -- cgit v1.2.3