move branch variable into the extension

This commit is contained in:
Bailey Ling
2016-01-29 09:29:40 -05:00
parent 1887b782e3
commit ce44577f1b
2 changed files with 2 additions and 1 deletions

View File

@@ -103,7 +103,7 @@ function! s:airline_theme(...)
endfunction
function! s:airline_refresh()
unlet! b:airline_head
silent doautocmd User AirlineBeforeRefresh
call airline#load_theme()
call airline#update_statusline()
endfunction