mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-18 14:29:42 +08:00
autogenerate bg colors for the file indicator. resolves #131.
This commit is contained in:
@@ -23,11 +23,14 @@
|
||||
"
|
||||
" The array is in the format [ guifg, guibg, ctermfg, ctermbg, opts ].
|
||||
" The opts takes in values from ":help attr-list".
|
||||
let s:file = [ '#ff0000' , '' , 160 , '' , '' ]
|
||||
let s:N1 = [ '#00005f' , '#dfff00' , 17 , 190 ]
|
||||
let s:N2 = [ '#ffffff' , '#444444' , 255 , 238 ]
|
||||
let s:N3 = [ '#9cffd3' , '#202020' , 85 , 234 ]
|
||||
|
||||
" The file array is a special case, where only the foreground colors are
|
||||
" specified. The background colors are automatically filled.
|
||||
let s:file = [ '#ff0000' , '' , 160 , '' ]
|
||||
|
||||
" vim-airline is made up of multiple sections, but for theming purposes there
|
||||
" is only 3 sections: the mode, the branch indicator, and the gutter (which
|
||||
" then get mirrored on the right side). generate_color_map is a helper
|
||||
|
||||
Reference in New Issue
Block a user