From b4c8d43e8565ded8e67da4f95734fc7e0ad2647c Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Thu, 20 Nov 2014 21:27:26 +0800 Subject: [PATCH] Add CtrlP style to the Bubblegum theme --- autoload/airline/themes/bubblegum.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autoload/airline/themes/bubblegum.vim b/autoload/airline/themes/bubblegum.vim index b941eae7..f2378ce8 100644 --- a/autoload/airline/themes/bubblegum.vim +++ b/autoload/airline/themes/bubblegum.vim @@ -60,3 +60,11 @@ let g:airline#themes#bubblegum#palette.inactive_modified = { \ 'airline_c': [s:gui_orange, '', s:cterm_orange, '', ''], \ } +" CtrlP +if !get(g:, 'loaded_ctrlp', 0) + finish +endif +let g:airline#themes#bubblegum#palette.ctrlp = airline#extensions#ctrlp#generate_color_map( + \ [ s:gui_orange, s:gui_med_gray_hi, s:cterm_orange, s:cterm_med_gray_hi, '' ] , + \ [ s:gui_orange, s:gui_med_gray_lo, s:cterm_orange, s:cterm_med_gray_lo, '' ] , + \ [ s:gui_dark_gray, s:gui_green, s:cterm_dark_gray, s:cterm_green, 'bold' ] )