mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-13 08:08:54 +08:00
convert branch/hunks/bufferline to function names.
This commit is contained in:
1 parent
e10b690cdf
commit
bdd758dd38
4 files changed
+12
-9
No files matched your search
@@ -31,6 +31,6 @@ function! airline#extensions#branch#get_head()
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#branch#init(ext)
|
||||
let g:airline_parts.branch = '%{airline#extensions#branch#get_head()}'
|
||||
let g:airline_parts.branch = 'airline#extensions#branch#get_head'
|
||||
endfunction
|
||||
|
||||
Reference in new issue
Block a user