use correct direction of separators.

This commit is contained in:
Bailey Ling 2013-08-30 22:10:04 +00:00
parent c6d996d5ca
commit cb774fcfd0
2 changed files with 4 additions and 8 deletions

View File

@ -77,16 +77,16 @@ function! airline#init#bootstrap()
let g:airline_section_gutter = airline#section#create([' ', 'readonly', '%='])
endif
if !exists('g:airline_section_x')
let g:airline_section_x = airline#section#create(['tagbar', '%{&filetype}'])
let g:airline_section_x = airline#section#create_right(['tagbar', '%{&filetype}'])
endif
if !exists('g:airline_section_y')
let g:airline_section_y = airline#section#create(['ffenc'])
let g:airline_section_y = airline#section#create_right(['ffenc'])
endif
if !exists('g:airline_section_z')
let g:airline_section_z = airline#section#create(['%3p%% %{g:airline_symbols.linenr} %3l:%3c '])
let g:airline_section_z = airline#section#create_right(['%3p%% %{g:airline_symbols.linenr} %3l:%3c '])
endif
if !exists('g:airline_section_warning')
let g:airline_section_warning = airline#section#create(['syntastic', 'whitespace'])
let g:airline_section_warning = airline#section#create_right(['syntastic', 'whitespace'])
endif
endfunction

View File

@ -24,10 +24,6 @@ function! airline#parts#get(key)
return get(s:parts, a:key, {})
endfunction
function! airline#parts#empty()
return ''
endfunction
function! airline#parts#mode()
return get(w:, 'airline_current_mode', '')
endfunction