mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-23 14:04:53 +02:00
themes: prepare for vim9script implementation
This commit is contained in:
parent
f08b7912c6
commit
0a80997100
@ -3,6 +3,8 @@
|
||||
|
||||
scriptencoding utf-8
|
||||
|
||||
unlet! g:airline_experimental
|
||||
if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0)==0)
|
||||
" generates a dictionary which defines the colors for each highlight group
|
||||
function! airline#themes#generate_color_map(sect1, sect2, sect3, ...)
|
||||
let palette = {
|
||||
@ -76,3 +78,6 @@ function! airline#themes#patch(palette)
|
||||
let a:palette.accents.purple = [ '#af00df' , '' , 128 , '' ]
|
||||
endif
|
||||
endfunction
|
||||
else
|
||||
" New Vim9script implementation
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user