From f533b7afaf69c9efa6524a563c20fc554c2d5955 Mon Sep 17 00:00:00 2001 From: Lifepillar Date: Sun, 11 Jun 2017 11:07:04 +0200 Subject: [PATCH] Remove hard-coded colors in Normal group. --- src/wwdc16.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wwdc16.vim b/src/wwdc16.vim index c611cf1..d786a25 100644 --- a/src/wwdc16.vim +++ b/src/wwdc16.vim @@ -78,9 +78,9 @@ let colors_name = 'wwdc16' . call s:put("if !has('gui_running') && get(g:, 'wwdc16_term_trans_bg', 0)") -call s:put(" hi Normal ctermfg=15 ctermbg=NONE cterm=NONE guifg=#ffffff guibg=NONE gui=NONE") +call s:put(" hi Normal ctermfg=".s:fg[1]." ctermbg=NONE cterm=NONE guifg=".s:fg[0]." guibg=NONE gui=NONE") call s:put("else") -call s:put(" hi Normal ctermfg=15 ctermbg=0 cterm=NONE guifg=#ffffff guibg=#292c36 gui=NONE") +call s:put(" hi Normal ctermfg=".s:fg[1]." ctermbg=".s:bg[1]." cterm=NONE guifg=".s:fg[0]." guibg=".s:bg[0]." gui=NONE") call s:put("endif") call s:hl("ColorColumn", s:none, s:grey1)