automatically provide the red accent.

This commit is contained in:
Bailey Ling
2013-09-17 23:13:32 -04:00
parent d833718dd9
commit e93263538f
17 changed files with 116 additions and 98 deletions
+5
View File
@@ -40,5 +40,10 @@ function! airline#themes#patch(palette)
let a:palette[mode]['airline_warning'] = [ '#000000', '#df5f00', 232, 166 ]
endif
endfor
let a:palette.accents = get(a:palette, 'accents', {})
if !has_key(a:palette.accents, 'red')
let a:palette.accents.red = [ '#ff0000' , '' , 160 , '' ]
endif
endfunction