Rename variable to work with older (n)vim, when types were sticky
Closes #213
This commit is contained in:
parent
f194e3aced
commit
8d5e018519
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user