since this is disabled by default, set showtabline automatically.

This commit is contained in:
Bailey Ling 2013-09-03 14:13:58 +00:00
parent 4f76b3a971
commit a4deb82ac4

View File

@ -5,6 +5,7 @@ let s:fmod = get(g:, 'airline#extensions#tabline#fnamemod', ':p:.')
let s:excludes = get(g:, 'airline#extensions#tabline#excludes', [])
function! airline#extensions#tabline#init(ext)
set showtabline=2
set tabline=%!airline#extensions#tabline#get()
call a:ext.add_theme_func('airline#extensions#tabline#load_theme')