tabline: init function, do call autocommand functions

This commit is contained in:
Christian
2020-11-18 17:09:00 +01:00
committed by Christian Brabandt
parent 4f59fef538
commit b10c1107e1

View File

@@ -257,8 +257,8 @@ else
if has('gui_running') && match(&guioptions, 'e') > -1
:set guioptions-=e
endif
autocmd User AirlineToggledOn s:toggle_on()
autocmd User AirlineToggledOff s:toggle_off()
autocmd User AirlineToggledOn call s:toggle_on()
autocmd User AirlineToggledOff call s:toggle_off()
s:toggle_on()
ext.add_theme_func('airline#extensions#tabline#load_theme')
enddef