mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2026-05-17 22:09:34 +08:00
convert branch/hunks/bufferline to function names.
This commit is contained in:
@@ -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