1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-02 18:20:29 +08:00
2021-02-10 10:31:34 +08:00

9 lines
336 B
VimL

call ale#Set('haskell_hlint_executable', 'hlint')
call ale#Set('haskell_hlint_options', get(g:, 'hlint_options', ''))
function! ale#handlers#hlint#GetExecutable(buffer) abort
let l:executable = ale#Var(a:buffer, 'haskell_hlint_executable')
return ale#handlers#haskell_stack#EscapeExecutable(l:executable, 'hlint')
endfunction