Set global vars in hlint linter file.

This commit is contained in:
Evan Rutledge Borden 2018-09-28 13:54:21 -04:00
parent 2a56475cf7
commit eae8ffafb8

View File

@ -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 = []