parent
ea46192561
commit
8a3e3e2794
@ -130,7 +130,8 @@ function! s:update_hg_branch(...)
|
|||||||
elseif has("nvim")
|
elseif has("nvim")
|
||||||
call airline#async#nvim_get_mq_async(cmd, expand('%:p'))
|
call airline#async#nvim_get_mq_async(cmd, expand('%:p'))
|
||||||
else
|
else
|
||||||
let output=system(cmd)
|
" remove \n at the end of the command
|
||||||
|
let output=system(cmd)[0:-2]
|
||||||
if output is# 'no patches applied' ||
|
if output is# 'no patches applied' ||
|
||||||
\ output =~# "unknown command 'qtop'"
|
\ output =~# "unknown command 'qtop'"
|
||||||
let b:mq=''
|
let b:mq=''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user