From e5fb2456d443ecdc2bf653f711d925ffd7cea6fc Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Mon, 23 Sep 2013 14:52:39 +0000 Subject: [PATCH] redefine mode as a part with a bold accent. --- autoload/airline/init.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index 0871a23..37ac856 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -62,7 +62,10 @@ function! airline#init#bootstrap() \ 'space': ' ', \ }, '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('paste', 'airline#parts#paste') call airline#parts#define_function('filetype', 'airline#parts#filetype')