1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:30:05 +08:00

perf(color): use #ffffff as default color

This commit is contained in:
Eric Wong 2024-03-15 22:40:44 +08:00
parent 61501adb7b
commit 06770399fd

View File

@ -61,7 +61,7 @@ let s:gui_colors = {
\ 'salmon' : '#EE6E73',
\ 'green' : '#8FAA54',
\ 'lightGreen' : '#31B53E',
\ 'default': synIDattr(hlID('Normal'), 'fg'),
\ 'default': '#ffffff',
\ }
let s:term_colors = {
@ -310,6 +310,8 @@ endfunction
function! s:self.hi_icons() abort
for [name, icon] in items(s:icons_color)
let str = printf('hi! SpaceVim_API_FILE_%s guifg=%s ctermfg=%s', name, icon.color, icon.term_color)
echom str
call execute(printf('hi! SpaceVim_API_FILE_%s guifg=%s ctermfg=%s', name, icon.color, icon.term_color))
call execute(printf('call matchadd("SpaceVim_API_FILE_%s", "%s", 2)', name, icon.icon))
endfor