From 6e2a9e38cd466f42cede7e2b2dc3321295a370f0 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Thu, 19 Oct 2017 11:36:35 +0200 Subject: [PATCH] tabline: force redraw on BufAdd autocommands closes #1580 --- autoload/airline/extensions/tabline.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index ace99fa6..bfa5bc56 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -63,6 +63,9 @@ function! s:update_tabline() return endif doautocmd User BufMRUChange + " sometimes, the tabline is not correctly updated see #1580 + " so force redraw here + let &tabline = &tabline endfunction function! airline#extensions#tabline#load_theme(palette)