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
+2 -1
View File
@@ -23,7 +23,8 @@ function! s:prototype.add_section(group, contents)
let self._line .= '%#'.a:group.'#'
endif
let self._line .= a:contents
let contents = substitute(a:contents, 'airline_accent', a:group, 'g')
let self._line .= contents
let self._curgroup = a:group
endfunction