mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
automatic separators.
This commit is contained in:
@@ -80,14 +80,14 @@ function! s:init()
|
||||
\ }, 'keep')
|
||||
|
||||
call airline#extensions#load()
|
||||
call airline#util#define_section('a', ['mode', 'paste', 'iminsert'])
|
||||
call airline#util#define_section('b', ['hunks', 'branch'])
|
||||
call airline#util#define_section('c', ['%<', 'file'])
|
||||
call airline#util#define_section('gutter', ['readonly', '%='])
|
||||
call airline#util#define_section('x', ['tagbar', '%{&filetype}'])
|
||||
call airline#util#define_section('y', ['ffenc'])
|
||||
call airline#util#define_section('z', ['%3p%% %{g:airline_symbols.linenr} %3l:%3c '])
|
||||
call airline#util#define_section('warning', ['syntastic', 'whitespace'])
|
||||
call airline#util#define_left_section('a', ['mode', 'paste', 'iminsert'])
|
||||
call airline#util#define_left_section('b', ['hunks', 'branch'])
|
||||
call airline#util#define_left_section('c', ['%<', 'file'])
|
||||
call airline#util#define_left_section('gutter', ['readonly', '%='])
|
||||
call airline#util#define_right_section('x', ['tagbar', '%{&filetype}'])
|
||||
call airline#util#define_right_section('y', ['ffenc'])
|
||||
call airline#util#define_right_section('z', ['%3p%% %{g:airline_symbols.linenr} %3l:%3c '])
|
||||
call airline#util#define_right_section('warning', ['syntastic', 'whitespace'])
|
||||
|
||||
let s:airline_theme_defined = exists('g:airline_theme')
|
||||
if s:airline_theme_defined || !airline#switch_matching_theme()
|
||||
|
||||
Reference in New Issue
Block a user