give the line number a bold accent by default.

This commit is contained in:
Bailey Ling
2013-09-20 00:01:02 -04:00
parent 20b2ee3ac3
commit 7d78fbf2cc
2 changed files with 9 additions and 3 deletions

View File

@@ -102,8 +102,13 @@ function! airline#highlighter#add_accent(group, accent)
let mode_colors = kvp[1]
if has_key(mode_colors, a:group)
let colors = copy(mode_colors[a:group])
let colors[0] = p.accents[a:accent][0]
let colors[2] = p.accents[a:accent][2]
if p.accents[a:accent][0] != ''
let colors[0] = p.accents[a:accent][0]
endif
if p.accents[a:accent][2] != ''
let colors[2] = p.accents[a:accent][2]
endif
let colors[4] = get(p.accents[a:accent], 4, '')
let mode_colors[a:group.'_'.a:accent] = colors
endif
endfor