mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-25 09:41:33 +08:00
use correct direction of separators.
This commit is contained in:
parent
c6d996d5ca
commit
cb774fcfd0
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user