mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-25 11:07:11 +08:00
Do not add empty error section
This prevents, adding a separator in error highlighting, also there exists no error.
This commit is contained in:
@@ -84,7 +84,8 @@ function! airline#init#bootstrap()
|
||||
\ 'raw': '%{g:airline_symbols.linenr}%#__accent_bold#%4l%#__restore__#',
|
||||
\ 'accent': 'bold'})
|
||||
call airline#parts#define_function('ffenc', 'airline#parts#ffenc')
|
||||
call airline#parts#define_empty(['hunks', 'branch', 'tagbar', 'syntastic', 'eclim', 'whitespace','windowswap'])
|
||||
call airline#parts#define_empty(['hunks', 'branch', 'tagbar', 'syntastic',
|
||||
\ 'eclim', 'whitespace','windowswap', 'ycm_error_count', 'ycm_warning_count'])
|
||||
call airline#parts#define_text('capslock', '')
|
||||
|
||||
unlet g:airline#init#bootstrapping
|
||||
|
||||
Reference in New Issue
Block a user