tabline: force redraw on BufAdd autocommands

closes #1580
This commit is contained in:
Christian Brabandt 2017-10-19 11:36:35 +02:00
parent a5d9a4bcb2
commit 6e2a9e38cd
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ function! s:update_tabline()
return return
endif endif
doautocmd User BufMRUChange doautocmd User BufMRUChange
" sometimes, the tabline is not correctly updated see #1580
" so force redraw here
let &tabline = &tabline
endfunction endfunction
function! airline#extensions#tabline#load_theme(palette) function! airline#extensions#tabline#load_theme(palette)