1
0
Fork 0
mirror of synced 2024-05-27 12:31:12 -04:00
ultimate-vim/sources_non_forked/ale/autoload/ale/handlers/haskell_stack.vim
2018-09-30 17:58:57 -03:00

8 lines
262 B
VimL

function! ale#handlers#haskell_stack#EscapeExecutable(executable, stack_exec) abort
let l:exec_args = a:executable =~? 'stack$'
\ ? ' exec ' . ale#Escape(a:stack_exec) . ' --'
\ : ''
return ale#Escape(a:executable) . l:exec_args
endfunction