add bold and italic accents.

This commit is contained in:
Bailey Ling 2013-09-19 23:24:27 -04:00
parent 9d5a1744a1
commit 20b2ee3ac3
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ function! airline#themes#patch(palette)
endfor
let a:palette.accents = get(a:palette, 'accents', {})
let a:palette.accents.bold = [ '', '', '', '', 'bold' ]
let a:palette.accents.italic = [ '', '', '', '', 'italic' ]
if !has_key(a:palette.accents, 'red')
let a:palette.accents.red = [ '#ff0000' , '' , 160 , '' ]
endif