place hunks and branch extension into parts.

This commit is contained in:
Bailey Ling
2013-08-27 23:22:26 +00:00
parent 3d3d93e135
commit 2708951715
3 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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