diff --git a/doc/airline.txt b/doc/airline.txt index d7e88a2..cd2a17c 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -139,7 +139,7 @@ COMMANDS *airline-commands* Toggles between the standard 'statusline' and airline. :AirlineRefresh *:AirlineRefresh* - Refreshes all highlight groups. + Refreshes all highlight groups and redraws the statusline. ============================================================================== CUSTOMIZATION *airline-customization* diff --git a/plugin/airline.vim b/plugin/airline.vim index e75535f..d53c492 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -103,7 +103,7 @@ endfunction command! -nargs=? -complete=customlist,get_airline_themes AirlineTheme call airline_theme() command! AirlineToggleWhitespace call airline#extensions#whitespace#toggle() command! AirlineToggle call airline_toggle() -command! AirlineRefresh call airline#load_theme() +command! AirlineRefresh call airline#load_theme() | call airline#update_statusline() call airline_toggle()