mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-05-03 22:40:30 +02:00
tabline: init function, do call autocommand functions
This commit is contained in:
parent
4f59fef538
commit
b10c1107e1
@ -257,8 +257,8 @@ else
|
|||||||
if has('gui_running') && match(&guioptions, 'e') > -1
|
if has('gui_running') && match(&guioptions, 'e') > -1
|
||||||
:set guioptions-=e
|
:set guioptions-=e
|
||||||
endif
|
endif
|
||||||
autocmd User AirlineToggledOn s:toggle_on()
|
autocmd User AirlineToggledOn call s:toggle_on()
|
||||||
autocmd User AirlineToggledOff s:toggle_off()
|
autocmd User AirlineToggledOff call s:toggle_off()
|
||||||
s:toggle_on()
|
s:toggle_on()
|
||||||
ext.add_theme_func('airline#extensions#tabline#load_theme')
|
ext.add_theme_func('airline#extensions#tabline#load_theme')
|
||||||
enddef
|
enddef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user