diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index a97cbe12..91c19d32 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -147,7 +147,12 @@ function! airline#extensions#tabline#title(n) endif if exists("*settabvar") && !empty(title) - call settabvar(a:n, 'title', title) + " don't use settabvar, it causes a refresh, + " which in turn causes flicker on windows + "call settabvar(a:n, 'title', title) + if tabpagenr() == a:n + let t:title = title + endif endif return title endfunction