From 27f1df3955fb14f6cc4106fff8104e2471b84390 Mon Sep 17 00:00:00 2001 From: Diki Ananta Date: Thu, 8 Jun 2017 01:15:36 +0700 Subject: [PATCH] Bump minimalist version to 1.4 --- autoload/airline/themes/minimalist.vim | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/autoload/airline/themes/minimalist.vim b/autoload/airline/themes/minimalist.vim index 2f9309b..8554996 100644 --- a/autoload/airline/themes/minimalist.vim +++ b/autoload/airline/themes/minimalist.vim @@ -2,7 +2,7 @@ " " Author: Diki Ananta " Repository: https://github.com/dikiaap/minimalist -" Version: 1.3 +" Version: 1.4 " License: MIT " Normal Mode @@ -53,12 +53,15 @@ let g:airline#themes#minimalist#palette.insert.airline_error = g:airline#them let g:airline#themes#minimalist#palette.visual.airline_error = g:airline#themes#minimalist#palette.normal.airline_error let g:airline#themes#minimalist#palette.replace.airline_error = g:airline#themes#minimalist#palette.normal.airline_error -" CtrlP -if !get(g:, 'loaded_ctrlp', 0) - finish -endif +" Accents +let g:airline#themes#minimalist#palette.accents = { + \ 'red': [ '#D75F5F' , '' , 167 , '' ] + \ } -let g:airline#themes#minimalist#palette.ctrlp = airline#extensions#ctrlp#generate_color_map( - \ [ '#E4E4E4' , '#262626' , 254 , 235 , '' ] , - \ [ '#E4E4E4' , '#4E4E4E' , 254 , 239 , '' ] , - \ [ '#585858' , '#E4E4E4' , 240 , 254 , 'bold' ] ) +" CtrlP +if get(g:, 'loaded_ctrlp', 0) + let g:airline#themes#minimalist#palette.ctrlp = airline#extensions#ctrlp#generate_color_map( + \ [ '#E4E4E4' , '#262626' , 254 , 235 , '' ], + \ [ '#E4E4E4' , '#4E4E4E' , 254 , 239 , '' ], + \ [ '#585858' , '#E4E4E4' , 240 , 254 , 'bold' ]) +endif