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', '%=']) let g:airline_section_gutter = airline#section#create([' ', 'readonly', '%='])
endif endif
if !exists('g:airline_section_x') 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 endif
if !exists('g:airline_section_y') 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 endif
if !exists('g:airline_section_z') 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 endif
if !exists('g:airline_section_warning') 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 endif
endfunction endfunction

View File

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