redefine mode as a part with a bold accent.

This commit is contained in:
Bailey Ling 2013-09-23 14:52:39 +00:00
parent 019d158a02
commit e5fb2456d4
1 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,10 @@ function! airline#init#bootstrap()
\ 'space': ' ', \ 'space': ' ',
\ }, 'keep') \ }, 'keep')
call airline#parts#define_function('mode', 'airline#parts#mode') call airline#parts#define('mode', {
\ 'function': 'airline#parts#mode',
\ 'accent': 'bold',
\ })
call airline#parts#define_function('iminsert', 'airline#parts#iminsert') call airline#parts#define_function('iminsert', 'airline#parts#iminsert')
call airline#parts#define_function('paste', 'airline#parts#paste') call airline#parts#define_function('paste', 'airline#parts#paste')
call airline#parts#define_function('filetype', 'airline#parts#filetype') call airline#parts#define_function('filetype', 'airline#parts#filetype')