mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-16 10:51:26 +08:00
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
1 file changed
+1
-4
@@ -97,10 +97,7 @@ if has('nvim')
|
||||
if l:id < 1
|
||||
return system(a:cmd)
|
||||
endif
|
||||
let l:ret_code = jobwait([l:id])
|
||||
if l:ret_code != [0]
|
||||
return system(a:cmd)
|
||||
endif
|
||||
call jobwait([l:id])
|
||||
return l:config.buf
|
||||
endfunction
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user