mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-26 07:25:18 +02:00
also redraw the statusline for :AirlineRefresh (for #563)
This commit is contained in:
parent
9a1dff320d
commit
e10ef2fb25
@ -139,7 +139,7 @@ COMMANDS *airline-commands*
|
|||||||
Toggles between the standard 'statusline' and airline.
|
Toggles between the standard 'statusline' and airline.
|
||||||
|
|
||||||
:AirlineRefresh *:AirlineRefresh*
|
:AirlineRefresh *:AirlineRefresh*
|
||||||
Refreshes all highlight groups.
|
Refreshes all highlight groups and redraws the statusline.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
CUSTOMIZATION *airline-customization*
|
CUSTOMIZATION *airline-customization*
|
||||||
|
@ -103,7 +103,7 @@ endfunction
|
|||||||
command! -nargs=? -complete=customlist,<sid>get_airline_themes AirlineTheme call <sid>airline_theme(<f-args>)
|
command! -nargs=? -complete=customlist,<sid>get_airline_themes AirlineTheme call <sid>airline_theme(<f-args>)
|
||||||
command! AirlineToggleWhitespace call airline#extensions#whitespace#toggle()
|
command! AirlineToggleWhitespace call airline#extensions#whitespace#toggle()
|
||||||
command! AirlineToggle call <sid>airline_toggle()
|
command! AirlineToggle call <sid>airline_toggle()
|
||||||
command! AirlineRefresh call airline#load_theme()
|
command! AirlineRefresh call airline#load_theme() | call airline#update_statusline()
|
||||||
|
|
||||||
call <sid>airline_toggle()
|
call <sid>airline_toggle()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user