From e10ef2fb250b4d19073d372568461250fb8c3640 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Wed, 30 Jul 2014 15:29:43 -0400 Subject: [PATCH] also redraw the statusline for :AirlineRefresh (for #563) --- doc/airline.txt | 2 +- plugin/airline.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/airline.txt b/doc/airline.txt index d7e88a2a..cd2a17c5 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 e75535fe..d53c4929 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()