e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
7 lines
262 B
VimL
7 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
|