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