move branch variable into the extension

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

No files matched your search

+1
View File
@@ -140,4 +140,5 @@ function! airline#extensions#branch#init(ext)
autocmd BufReadPost * unlet! b:airline_file_in_root
autocmd CursorHold,ShellCmdPost,CmdwinLeave * unlet! b:airline_head
autocmd User AirlineBeforeRefresh unlet! b:airline_head
endfunction