use directory group instead of spell to support gui colors

This commit is contained in:
Bailey Ling 2013-08-04 19:51:41 +00:00
parent cf3473a8a3
commit e84aed79a6

View File

@ -1,7 +1,7 @@
function! s:generate() function! s:generate()
let s:file = airline#themes#get_highlight('Constant') let s:file = airline#themes#get_highlight('Constant')
let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['SpellLocal', 'bg'], 'bold') let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Directory', 'fg'], 'bold')
let s:N2 = airline#themes#get_highlight('Pmenu') let s:N2 = airline#themes#get_highlight('Pmenu')
let s:N3 = airline#themes#get_highlight('CursorLine') let s:N3 = airline#themes#get_highlight('CursorLine')
let g:airline#themes#tomorrow#normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3, s:file) let g:airline#themes#tomorrow#normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3, s:file)