summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Rutledge Borden <eborden@frontrowed.com>2018-09-28 13:54:21 -0400
committerEvan Rutledge Borden <eborden@frontrowed.com>2018-09-28 13:54:21 -0400
commiteae8ffafb828213d76269769018cd71f3178486f (patch)
tree3ca975362c4672c50b336272566ed292e95e1d46
parent2a56475cf79e47f603811d6440853b9d951fb53d (diff)
downloadale-eae8ffafb828213d76269769018cd71f3178486f.zip
Set global vars in hlint linter file.
-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 = []