must use finish to prevent ctrlp from getting source.
This commit is contained in:
parent
9194a9f02d
commit
c42eefbd1d
@ -90,9 +90,11 @@ let g:airline#themes#dark#palette.inactive = airline#themes#generate_color_map(s
|
|||||||
" variable so that related functionality is loaded iff the user is using
|
" variable so that related functionality is loaded iff the user is using
|
||||||
" ctrlp. Note that this is optional, and if you do not define ctrlp colors
|
" ctrlp. Note that this is optional, and if you do not define ctrlp colors
|
||||||
" they will be chosen automatically from the existing palette.
|
" they will be chosen automatically from the existing palette.
|
||||||
if get(g:, 'loaded_ctrlp', 0)
|
if !get(g:, 'loaded_ctrlp', 0)
|
||||||
let g:airline#themes#dark#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
finish
|
||||||
|
endif
|
||||||
|
let g:airline#themes#dark#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||||
\ [ '#d7d7ff' , '#5f00af' , 189 , 55 , '' ],
|
\ [ '#d7d7ff' , '#5f00af' , 189 , 55 , '' ],
|
||||||
\ [ '#ffffff' , '#875fd7' , 231 , 98 , '' ],
|
\ [ '#ffffff' , '#875fd7' , 231 , 98 , '' ],
|
||||||
\ [ '#5f00af' , '#ffffff' , 55 , 231 , 'bold' ])
|
\ [ '#5f00af' , '#ffffff' , 55 , 231 , 'bold' ])
|
||||||
endif
|
|
||||||
|
@ -42,9 +42,10 @@ let s:IA = [ '#4e4e4e' , '#002b2b' , 59 , 23 , '' ]
|
|||||||
let g:airline#themes#luna#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file)
|
let g:airline#themes#luna#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file)
|
||||||
|
|
||||||
|
|
||||||
if get(g:, 'loaded_ctrlp', 0)
|
if !get(g:, 'loaded_ctrlp', 0)
|
||||||
let g:airline#themes#luna#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
finish
|
||||||
|
endif
|
||||||
|
let g:airline#themes#luna#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||||
\ [ '#ffffff' , '#002b2b' , 231 , 23 , '' ] ,
|
\ [ '#ffffff' , '#002b2b' , 231 , 23 , '' ] ,
|
||||||
\ [ '#ffffff' , '#005252' , 231 , 36 , '' ] ,
|
\ [ '#ffffff' , '#005252' , 231 , 36 , '' ] ,
|
||||||
\ [ '#ffffff' , '#973d45' , 231 , 95 , '' ] )
|
\ [ '#ffffff' , '#973d45' , 231 , 95 , '' ] )
|
||||||
endif
|
|
||||||
|
@ -50,10 +50,11 @@ let g:airline#themes#molokai#palette.inactive = airline#themes#generate_color_ma
|
|||||||
|
|
||||||
|
|
||||||
" CtrlP
|
" CtrlP
|
||||||
if get(g:, 'loaded_ctrlp', 0)
|
if !get(g:, 'loaded_ctrlp', 0)
|
||||||
let g:airline#themes#molokai#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
finish
|
||||||
|
endif
|
||||||
|
let g:airline#themes#molokai#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||||
\ [ '#f8f8f0' , '#465457' , 253 , 67 , '' ] ,
|
\ [ '#f8f8f0' , '#465457' , 253 , 67 , '' ] ,
|
||||||
\ [ '#f8f8f0' , '#232526' , 253 , 16 , '' ] ,
|
\ [ '#f8f8f0' , '#232526' , 253 , 16 , '' ] ,
|
||||||
\ [ '#080808' , '#e6db74' , 232 , 144 , 'bold' ] )
|
\ [ '#080808' , '#e6db74' , 232 , 144 , 'bold' ] )
|
||||||
endif
|
|
||||||
|
|
||||||
|
@ -79,9 +79,11 @@ let g:airline#themes#wombat#palette.insert_paste = {
|
|||||||
let g:airline#themes#wombat#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file)
|
let g:airline#themes#wombat#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file)
|
||||||
|
|
||||||
|
|
||||||
if get(g:, 'loaded_ctrlp', 0)
|
if !get(g:, 'loaded_ctrlp', 0)
|
||||||
let g:airline#themes#wombat#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
finish
|
||||||
|
endif
|
||||||
|
let g:airline#themes#wombat#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||||
\ [ '#DADADA' , '#242424' , 253 , 234 , '' ] ,
|
\ [ '#DADADA' , '#242424' , 253 , 234 , '' ] ,
|
||||||
\ [ '#DADADA' , '#40403C' , 253 , 238 , '' ] ,
|
\ [ '#DADADA' , '#40403C' , 253 , 238 , '' ] ,
|
||||||
\ [ '#141413' , '#DADADA' , 232 , 253 , 'bold' ] )
|
\ [ '#141413' , '#DADADA' , 232 , 253 , 'bold' ] )
|
||||||
endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user