mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 08:11:48 +08:00
parent
09ab45a2fb
commit
d3f8873469
|
@ -15,16 +15,16 @@ function! s:untracked_output(dict, buf)
|
|||
endfunction
|
||||
|
||||
function! s:mq_output(buf, file)
|
||||
let buf=''
|
||||
let buf=a:buf
|
||||
if !empty(a:buf)
|
||||
if a:buf is# 'no patches applied' ||
|
||||
\ a:buf =~# "unknown command 'qtop'"
|
||||
let buf = ''
|
||||
elseif exists("b:mq") && b:mq isnot# a:buf
|
||||
elseif exists("b:mq") && b:mq isnot# buf
|
||||
" make sure, statusline is updated
|
||||
unlet! b:airline_head
|
||||
endif
|
||||
let b:mq = a:buf
|
||||
let b:mq = buf
|
||||
endif
|
||||
if has_key(s:mq_jobs, a:file)
|
||||
call remove(s:mq_jobs, a:file)
|
||||
|
|
Loading…
Reference in New Issue
Block a user