Fix #1479 - Respect g:hdevtools_options for hdevtools

This commit is contained in:
w0rp
2018-04-07 22:50:26 +01:00
parent c5d3af04fc
commit bb775e4e22
2 changed files with 8 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
" Description: hdevtools for Haskell files
call ale#Set('haskell_hdevtools_executable', 'hdevtools')
call ale#Set('haskell_hdevtools_options', '-g -Wall')
call ale#Set('haskell_hdevtools_options', get(g:, 'hdevtools_options', '-g -Wall'))
function! ale_linters#haskell#hdevtools#GetExecutable(buffer) abort
return ale#Var(a:buffer, 'haskell_hdevtools_executable')