correctly inject the accent highlight groups.

This commit is contained in:
Bailey Ling
2013-09-15 22:47:13 -04:00
parent 858ef19a6f
commit 02aa620a92
4 changed files with 13 additions and 6 deletions

View File

@@ -9,8 +9,8 @@ function! s:create(parts, append)
let part = airline#parts#get(a:parts[idx])
let val = ''
if exists('part.highlight')
let val .= '%#'.(part.highlight).'#'
if exists('part.accent')
let val .= '%#airline_accent_'.(part.accent).'#'
endif
if exists('part.function')