summaryrefslogtreecommitdiff
path: root/ale_linters/haskell
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell')
-rw-r--r--ale_linters/haskell/ghc.vim6
-rw-r--r--ale_linters/haskell/hlint.vim6
2 files changed, 0 insertions, 12 deletions
diff --git a/ale_linters/haskell/ghc.vim b/ale_linters/haskell/ghc.vim
index 29aef123..82bf061b 100644
--- a/ale_linters/haskell/ghc.vim
+++ b/ale_linters/haskell/ghc.vim
@@ -1,12 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: ghc for Haskell files
-if exists('g:loaded_ale_linters_haskell_ghc')
- finish
-endif
-
-let g:loaded_ale_linters_haskell_ghc = 1
-
call ale#linter#Define('haskell', {
\ 'name': 'ghc',
\ 'output_stream': 'stderr',
diff --git a/ale_linters/haskell/hlint.vim b/ale_linters/haskell/hlint.vim
index a12f75f1..f698d5b4 100644
--- a/ale_linters/haskell/hlint.vim
+++ b/ale_linters/haskell/hlint.vim
@@ -1,12 +1,6 @@
" Author: jparoz <jesse.paroz@gmail.com>
" Description: hlint for Haskell files
-if exists('g:loaded_ale_linters_haskell_hlint')
- finish
-endif
-
-let g:loaded_ale_linters_haskell_hlint = 1
-
function! ale_linters#haskell#hlint#Handle(buffer, lines)
let l:errors = json_decode(join(a:lines, ''))