Rename variable to work with older (n)vim, when types were sticky

Closes #213
This commit is contained in:
James McCoy 2017-02-01 09:09:03 -05:00
parent f194e3aced
commit 8d5e018519

View File

@ -230,8 +230,8 @@ endfunction
" Function: s:initialize_job {{{1
function! s:initialize_job(vcs, do_register) abort
let cmd = s:expand_cmd(a:vcs)
let cmd = (has('win32') && &shell =~ 'cmd') ? cmd : ['sh', '-c', cmd]
let vcs_cmd = s:expand_cmd(a:vcs)
let cmd = (has('win32') && &shell =~ 'cmd') ? vcs_cmd : ['sh', '-c', vcs_cmd]
let options = {
\ 'stdoutbuf': [],
\ 'vcs': a:vcs,