mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-04 07:53:34 +08:00
since this is disabled by default, set showtabline automatically.
This commit is contained in:
parent
4f76b3a971
commit
a4deb82ac4
|
@ -5,6 +5,7 @@ let s:fmod = get(g:, 'airline#extensions#tabline#fnamemod', ':p:.')
|
||||||
let s:excludes = get(g:, 'airline#extensions#tabline#excludes', [])
|
let s:excludes = get(g:, 'airline#extensions#tabline#excludes', [])
|
||||||
|
|
||||||
function! airline#extensions#tabline#init(ext)
|
function! airline#extensions#tabline#init(ext)
|
||||||
|
set showtabline=2
|
||||||
set tabline=%!airline#extensions#tabline#get()
|
set tabline=%!airline#extensions#tabline#get()
|
||||||
|
|
||||||
call a:ext.add_theme_func('airline#extensions#tabline#load_theme')
|
call a:ext.add_theme_func('airline#extensions#tabline#load_theme')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user