introduce parts metadata.

This commit is contained in:
Bailey Ling
2013-08-30 21:51:10 +00:00
parent a927bf9475
commit fa517238c7
6 changed files with 49 additions and 55 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_parts.branch = 'airline#extensions#branch#get_head'
call airline#parts#define_function('branch', 'airline#extensions#branch#get_head')
endfunction