extract matching background colors for file indicator

This commit is contained in:
Bailey Ling
2013-08-10 13:43:12 +00:00
parent 1d46c5874b
commit e67fa32fd9
11 changed files with 28 additions and 14 deletions
+3
View File
@@ -1,5 +1,8 @@
function! s:generate()
let s:file = airline#themes#get_highlight('Constant')
" clear out backgrounds so generate_color_map will fill them in
let s:file[1] = ''
let s:file[3] = ''
let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Directory', 'fg'], 'bold')
let s:N2 = airline#themes#get_highlight('Pmenu')