mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
Catch trailing whitespace when matching output
This commit is contained in:
@@ -17,7 +17,7 @@ endfunction
|
||||
function! s:mq_output(buf, file)
|
||||
let buf=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'"
|
||||
let buf = ''
|
||||
elseif exists("b:mq") && b:mq isnot# buf
|
||||
|
||||
Reference in New Issue
Block a user