mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-24 10:38:36 +08:00
Merge pull request #1102 from joshuarubin/patch-1
Add support for getting tab title from t:title
This commit is contained in:
commit
b2461f612e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user