Merge pull request #1327 from gregorias/nvim_git_issue
Do not forward v:shell_error on command fail.
This commit is contained in:
commit
c02d774b05
@ -97,10 +97,7 @@ if has('nvim')
|
|||||||
if l:id < 1
|
if l:id < 1
|
||||||
return system(a:cmd)
|
return system(a:cmd)
|
||||||
endif
|
endif
|
||||||
let l:ret_code = jobwait([l:id])
|
call jobwait([l:id])
|
||||||
if l:ret_code != [0]
|
|
||||||
return system(a:cmd)
|
|
||||||
endif
|
|
||||||
return l:config.buf
|
return l:config.buf
|
||||||
endfunction
|
endfunction
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user