From cb774fcfd02bd623e710cf1f1c9bdaaa541d1bc6 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Fri, 30 Aug 2013 22:10:04 +0000 Subject: [PATCH] use correct direction of separators. --- autoload/airline/init.vim | 8 ++++---- autoload/airline/parts.vim | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index 80ab516..8302e6e 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -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 diff --git a/autoload/airline/parts.vim b/autoload/airline/parts.vim index 42ab21e..31a9f16 100644 --- a/autoload/airline/parts.vim +++ b/autoload/airline/parts.vim @@ -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