mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-11 09:08:25 +08:00
move default ctrlp theme to dark. autogenerate for everything else if not already defined.
This commit is contained in:
@@ -85,3 +85,14 @@ let g:airline#themes#dark#inactive_modified = {
|
||||
\ 'statusline': [ '#5f005f' , '' , '53' , '' , '' ] ,
|
||||
\ }
|
||||
|
||||
|
||||
" Here we define the color map for ctrlp. We check for the g:loaded_ctrlp
|
||||
" 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
|
||||
" they will be chosen automatically from the existing palette.
|
||||
if get(g:, 'loaded_ctrlp', 0)
|
||||
let g:airline#themes#dark#ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||
\ [ '#d7d7ff' , '#5f00af' , 189 , 55 , '' ],
|
||||
\ [ '#ffffff' , '#875fd7' , 231 , 98 , '' ],
|
||||
\ [ '#5f00af' , '#ffffff' , 55 , 231 , 'bold' ])
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user