mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-04 19:28:46 +08:00
move branch variable into the extension
This commit is contained in:
1 parent
1887b782e3
commit
ce44577f1b
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user