convert branch/hunks/bufferline to function names.

This commit is contained in:
Bailey Ling
2013-08-29 00:15:07 +00:00
parent e10b690cdf
commit bdd758dd38
4 changed files with 12 additions and 9 deletions

View File

@@ -81,8 +81,8 @@ function! s:init()
call airline#extensions#load()
call airline#util#define_section('a', ['mode', 'paste', 'iminsert'])
call s:check_defined('g:airline_section_b', (g:airline_parts.hunks).(g:airline_parts.branch))
call s:check_defined('g:airline_section_c', '%<'.(g:airline_parts.file))
call airline#util#define_section('b', ['hunks', 'branch'])
call airline#util#define_section('c', ['%<', 'file'])
call s:check_defined('g:airline_section_gutter', ' '.(g:airline_parts.readonly).'%=')
call s:check_defined('g:airline_section_x', (g:airline_parts.tagbar).'%{&filetype}')
call s:check_defined('g:airline_section_y', g:airline_parts.ffenc)