From f2f164bda1b253f0bc05758c4d9afe6b1a326d04 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sun, 10 Nov 2013 16:04:03 -0500 Subject: [PATCH] evaluate line number symbol. resolves #336. --- autoload/airline/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index 98e662e..558b3f2 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -76,7 +76,7 @@ function! airline#init#bootstrap() \ 'accent': 'red', \ }) call airline#parts#define_raw('file', '%f%m') - call airline#parts#define_raw('linenr', (g:airline_symbols.linenr).'%#__accent_bold#%4l%#__restore__#') + call airline#parts#define_raw('linenr', '%{g:airline_symbols.linenr}%#__accent_bold#%4l%#__restore__#') call airline#parts#define_function('ffenc', 'airline#parts#ffenc') call airline#parts#define_empty(['hunks', 'branch', 'tagbar', 'syntastic', 'eclim', 'whitespace'])