From 8607e57bfda939ee5c7aa1d2c011ed720e0635cc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 29 Oct 2017 23:38:36 +1300 Subject: Explicitly set Normal GUI background colour I don't use gVim often, so I didn't notice this was missing. I think Vim has been accommodating this omission until now with my hardcoded 'background' setting of "dark", since changed to use some conditional logic: >From ab104099db86661d1dcb86d58f1e318ae06dbb05 Mon Sep 17 00:00:00 2001 >From: Tom Ryder >Date: Sun, 29 Oct 2017 23:27:59 +1300 >Subject: [PATCH] Switch on COLORFGBG to get background lightness > >Now that this environment variable is kept and updated in tmux after >54553ae, we should be able to either configure terminals or explicitly >set it during startup if we want to use lighter terminals. > >I'm much more comfortable with this than simply hardcoding it in the >configuration. > >This doesn't solve the problem of carrying the environment variable over >an SSH session, however, but I'm not really sure there's a solution to >that besides configuring sshd(8) itself to accept these variables in >transit. --- colors/sahara.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/sahara.vim b/colors/sahara.vim index fa4f5b2..35c4b1c 100644 --- a/colors/sahara.vim +++ b/colors/sahara.vim @@ -42,7 +42,7 @@ if has("gui_running") || &t_Co == 256 highlight ModeMsg term=NONE cterm=NONE ctermfg=178 ctermbg=NONE gui=NONE guifg=#d7af00 guibg=NONE highlight MoreMsg term=NONE cterm=NONE ctermfg=29 ctermbg=NONE gui=NONE guifg=#00875f guibg=NONE highlight NonText term=NONE cterm=NONE ctermfg=237 ctermbg=NONE gui=NONE guifg=#3a3a3a guibg=NONE - highlight Normal term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=#c6c6c6 guibg=NONE + highlight Normal term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=#c6c6c6 guibg=#030303 highlight Pmenu term=NONE cterm=NONE ctermfg=231 ctermbg=237 gui=NONE guifg=#ffffff guibg=#3a3a3a highlight PreProc term=NONE cterm=NONE ctermfg=167 ctermbg=NONE gui=NONE guifg=#d75f5f guibg=NONE highlight Question term=NONE cterm=NONE ctermfg=48 ctermbg=NONE gui=NONE guifg=#00ff87 guibg=NONE -- cgit v1.2.3