parent
09ab45a2fb
commit
d3f8873469
|
@ -15,16 +15,16 @@ function! s:untracked_output(dict, buf)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:mq_output(buf, file)
|
function! s:mq_output(buf, file)
|
||||||
let buf=''
|
let buf=a:buf
|
||||||
if !empty(a:buf)
|
if !empty(a:buf)
|
||||||
if a:buf is# 'no patches applied' ||
|
if a:buf is# 'no patches applied' ||
|
||||||
\ a:buf =~# "unknown command 'qtop'"
|
\ a:buf =~# "unknown command 'qtop'"
|
||||||
let buf = ''
|
let buf = ''
|
||||||
elseif exists("b:mq") && b:mq isnot# a:buf
|
elseif exists("b:mq") && b:mq isnot# buf
|
||||||
" make sure, statusline is updated
|
" make sure, statusline is updated
|
||||||
unlet! b:airline_head
|
unlet! b:airline_head
|
||||||
endif
|
endif
|
||||||
let b:mq = a:buf
|
let b:mq = buf
|
||||||
endif
|
endif
|
||||||
if has_key(s:mq_jobs, a:file)
|
if has_key(s:mq_jobs, a:file)
|
||||||
call remove(s:mq_jobs, a:file)
|
call remove(s:mq_jobs, a:file)
|
||||||
|
|
Loading…
Reference in New Issue