From b1c00b6cc92baf8715d4ec0476cf73266f8000d4 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sat, 23 Jan 2016 12:48:30 +0100 Subject: [PATCH] define linenr with bold accent --- autoload/airline/init.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index d27286e..ac91587 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -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', '')