Hi,

The delek colorscheme (which I created in 2006) works pretty well on
both light and dark backgrounds. One exception is the "search"
highlighting, which is almost not visible with dark backgrounds. This
patches fixes it. It would be cool if you could integrate it.

Thanks
David

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff -r f99b6efb5193 runtime/colors/delek.vim
--- a/runtime/colors/delek.vim	Wed Mar 12 21:28:26 2014 +0100
+++ b/runtime/colors/delek.vim	Wed Mar 19 08:32:09 2014 +0100
@@ -1,10 +1,10 @@
 " Vim color file
-" Maintainer:	David Schweikert <[email protected]>
-" Last Change:	2006 Apr 30
+" Maintainer:	David Schweikert <[email protected]>
+" Last Change:	2014 Mar 19
 
 hi clear
 
-let colors_name = "delek"
+let g:colors_name = "delek"
 
 " Normal should come first
 hi Normal     guifg=Black  guibg=White
@@ -28,7 +28,11 @@
 hi Pmenu      guibg=LightBlue
 hi PmenuSel   ctermfg=White	   ctermbg=DarkBlue  guifg=White  guibg=DarkBlue
 hi Question   ctermfg=DarkGreen    gui=bold guifg=SeaGreen
-hi Search     ctermfg=NONE	   ctermbg=Yellow guibg=Yellow guifg=NONE
+if &background == "light"
+    hi Search     ctermfg=NONE	   ctermbg=Yellow guibg=Yellow guifg=NONE
+else
+    hi Search     ctermfg=Black	   ctermbg=Yellow guibg=Yellow guifg=Black
+endif
 hi SpecialKey ctermfg=DarkBlue	   guifg=Blue
 hi StatusLine cterm=bold	   ctermbg=blue ctermfg=yellow guibg=gold guifg=blue
 hi StatusLineNC	cterm=bold	   ctermbg=blue ctermfg=black  guibg=gold guifg=blue

Raspunde prin e-mail lui