add ctrlp support for most themes

This commit is contained in:
Bailey Ling
2013-08-06 20:52:52 +00:00
parent 772fbc18e7
commit ae587c3dcb
7 changed files with 25 additions and 3 deletions
+4
View File
@@ -31,6 +31,10 @@ function! s:generate()
let s:IA = airline#themes#get_highlight2(['NonText', 'fg'], ['CursorLine', 'bg'])
let g:airline#themes#tomorrow#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file)
if get(g:, 'loaded_ctrlp', 0)
let g:airline#themes#tomorrow#ctrlp = airline#extensions#ctrlp#generate_color_map(s:N3, s:N2, s:V1)
endif
endfunction
call s:generate()