mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
convert branch/hunks/bufferline to function names.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user