treat inactive as a new mode, allowing it to be themeable (#59).

This commit is contained in:
Bailey Ling
2013-07-13 02:39:38 +00:00
parent 295749d581
commit a8a34b8992
8 changed files with 48 additions and 39 deletions

View File

@@ -92,10 +92,11 @@ let s:VM = {
\ 'statusline': s:NM.statusline
\ }
" inactive
let s:IA = [s:N3[0], s:N3[1], s:N3[2], s:N3[3], '']
" actual mapping goes next
let g:airline#themes#solarized2#inactive = {
\ 'mode': [s:N3[0], s:N3[1], s:N3[2], s:N3[3], ''],
\ }
let g:airline#themes#solarized2#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:IA)
let g:airline#themes#solarized2#normal =