From f0ce81b2e66942736544bc9c2633ea22ba074a76 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Mon, 7 May 2018 00:35:18 +0100 Subject: [PATCH] SetColor() implemented --- vim/colors/monotonous.vim | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/vim/colors/monotonous.vim b/vim/colors/monotonous.vim index eda3e83..e104989 100644 --- a/vim/colors/monotonous.vim +++ b/vim/colors/monotonous.vim @@ -1,4 +1,4 @@ - +" set bg=light highlight clear if exists('syntax_on') @@ -7,22 +7,25 @@ endif let g:colors_name = 'monotonous' -if has('gui_running') - "{{{ - hi! Normal guifg=#555555 ctermbg=none guibg=#000000 -else - hi! Normal guifg=#555555 ctermbg=none guibg=NONE -endif -"}}} +let g:d_normal_fg = '#555555' +let g:d_normal_bg = has('gui_running') ? '#000000' : 'NONE' +let g:l_normal_fg = '#444444' +let g:l_normal_bg = '#eeeeee' + +" call SetColor('', '', '', '', '', '') + +call SetColor('Normal', g:d_normal_fg, g:d_normal_bg, g:l_normal_fg, g:l_normal_bg, '') " highlight groups "{{{ -hi! ColorColumn guibg=#1d0808 +" hi! ColorColumn guibg=#1d0808 +call SetColor('ColorColumn', '', '#1d0808', '', '', '') " Conceal " Cursor " CursorIM " CursorColumn -hi! CursorLine guibg=#222222 term=none cterm=none gui=NONE +" hi! CursorLine guibg=#222222 term=none cterm=none gui=NONE +call SetColor('CursorLine', '', '#222222', '', '', '') hi! Directory guifg=#eeeeee term=none cterm=none gui=NONE hi! DiffAdd guifg=#aaaaaa guibg=#001000 term=none cterm=none gui=NONE hi! DiffChange guifg=#777777 guibg=#101010 term=none cterm=none gui=NONE