summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/hlint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/hlint.vim')
-rw-r--r--ale_linters/haskell/hlint.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ale_linters/haskell/hlint.vim b/ale_linters/haskell/hlint.vim
index fbb49fdb..0cc7437f 100644
--- a/ale_linters/haskell/hlint.vim
+++ b/ale_linters/haskell/hlint.vim
@@ -1,6 +1,9 @@
" Author: jparoz <jesse.paroz@gmail.com>
" Description: hlint for Haskell files
+call ale#Set('haskell_hlint_executable', 'hlint')
+call ale#Set('haskell_hlint_options', get(g:, 'hlint_options', ''))
+
function! ale_linters#haskell#hlint#Handle(buffer, lines) abort
let l:output = []