mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-25 09:48:34 +08:00
place hunks and branch extension into parts.
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_section_b .= '%{airline#extensions#branch#get_head()}'
|
||||
let g:airline_parts.branch = '%{airline#extensions#branch#get_head()}'
|
||||
endfunction
|
||||
|
||||
|
||||
@@ -54,6 +54,6 @@ function! airline#extensions#hunks#get_hunks()
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#hunks#init(ext)
|
||||
let g:airline_section_b .= '%{airline#extensions#hunks#get_hunks()}'
|
||||
let g:airline_parts.hunks = '%{airline#extensions#hunks#get_hunks()}'
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user