Merge pull request #169 from abouteiller/bugfix/badcat-ctrlp

Use defined color constants in badcat w/ctrlp
This commit is contained in:
Christian Brabandt 2019-03-21 17:28:29 +01:00 committed by GitHub
commit 78cc30cb90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,9 +74,9 @@ if !get(g:, 'loaded_ctrlp', 0)
finish
endif
let s:CP1 = [ s:guiWhite , s:gui01 , s:ctermWhite , s:ctermGray ]
let s:CP2 = [ s:guiWhite , s:gui03 , s:ctermWhite , s:ctermGray ]
let s:CP3 = [ s:guiWhite , s:gui0D , s:ctermWhite , s:ctermBlack ]
let s:CP1 = [ s:guiWhite , s:guiGray , s:ctermWhite , s:ctermGray ]
let s:CP2 = [ s:guiWhite , s:guiGray , s:ctermWhite , s:ctermGray ]
let s:CP3 = [ s:guiWhite , s:guiBlack , s:ctermWhite , s:ctermBlack ]
let g:airline#themes#badcat#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(s:CP1, s:CP2, s:CP3)
" }}}