mirror of
https://github.com/vim-airline/vim-airline-themes
synced 2024-12-13 09:34:43 +00:00
Merge pull request #938 from chrisbra/undefined_bold
Before using hlgroups make sure they exist
This commit is contained in:
commit
8fb92586ee
@ -80,7 +80,9 @@ function! airline#init#bootstrap()
|
||||
\ })
|
||||
call airline#parts#define_raw('file', '%f%m')
|
||||
call airline#parts#define_raw('path', '%F%m')
|
||||
call airline#parts#define_raw('linenr', '%{g:airline_symbols.linenr}%#__accent_bold#%4l%#__restore__#')
|
||||
call airline#parts#define('linenr', {
|
||||
\ '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_text('capslock', '')
|
||||
|
Loading…
Reference in New Issue
Block a user