parent
d00f7b35d2
commit
7612aaf701
|
@ -65,6 +65,8 @@ function! airline#switch_theme(name)
|
||||||
let w:airline_lastmode = ''
|
let w:airline_lastmode = ''
|
||||||
call airline#load_theme()
|
call airline#load_theme()
|
||||||
|
|
||||||
|
silent doautocmd User AirlineAfterTheme
|
||||||
|
|
||||||
" this is required to prevent clobbering the startup info message, i don't know why...
|
" this is required to prevent clobbering the startup info message, i don't know why...
|
||||||
call airline#check_mode(winnr())
|
call airline#check_mode(winnr())
|
||||||
endfunction
|
endfunction
|
||||||
|
|
|
@ -168,6 +168,7 @@ Airline comes with some user-defined autocommands.
|
||||||
|
|
||||||
|AirlineAfterInit| after plugin is initialized, but before the statusline
|
|AirlineAfterInit| after plugin is initialized, but before the statusline
|
||||||
is replaced
|
is replaced
|
||||||
|
|AirlineAfterTheme| after theme of the statusline has been changed
|
||||||
|AirlineToggledOn| after airline is activated and replaced the statusline
|
|AirlineToggledOn| after airline is activated and replaced the statusline
|
||||||
|AirlineToggledOff| after airline is deactivated and the statusline is
|
|AirlineToggledOff| after airline is deactivated and the statusline is
|
||||||
restored to the original
|
restored to the original
|
||||||
|
|
Loading…
Reference in New Issue