Merge pull request #1102 from joshuarubin/patch-1

Add support for getting tab title from t:title
This commit is contained in:
Christian Brabandt 2016-03-23 14:56:29 +01:00
commit b2461f612e

View File

@ -131,6 +131,10 @@ function! airline#extensions#tabline#title(n)
let title = TabooTabTitle(a:n)
endif
if empty(title) && exists('*gettabvar')
let title = gettabvar(a:n, 'title')
endif
if empty(title)
let buflist = tabpagebuflist(a:n)
let winnr = tabpagewinnr(a:n)