From 1ebc43af72ecf8499d4057b5ace63c37f84ca7d9 Mon Sep 17 00:00:00 2001 From: Ethan Schoonover Date: Wed, 4 May 2011 23:50:17 -0700 Subject: [PATCH] [vim] modified normal/high visibility highlighting for listchars normal visibility is now both less obnoxiously red and more visible due to a background used on trailing whitespace. normal is now set as default due to more acceptable highlighting. --- colors/solarized.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/colors/solarized.vim b/colors/solarized.vim index af357d5..3368f8f 100644 --- a/colors/solarized.vim +++ b/colors/solarized.vim @@ -4,7 +4,7 @@ " (see this url for latest release & screenshots) " License: OSI approved MIT license (see end of this file) " Created: In the middle of the night -" Modified: 2011 May 03 +" Modified: 2011 May 04 " " Usage "{{{ " @@ -217,7 +217,7 @@ call s:SetOption("underline",1) call s:SetOption("italic",1) " note that we need to override this later if the terminal doesn't support call s:SetOption("termcolors",16) call s:SetOption("contrast","normal") -call s:SetOption("visibility","low") +call s:SetOption("visibility","normal") call s:SetOption("diffmode","normal") call s:SetOption("menu",1) @@ -599,13 +599,13 @@ exe "hi! Todo" .s:fmt_bold .s:fg_magenta.s:bg_none " --------------------------------------------------------------------- if (g:solarized_visibility=="high") exe "hi! SpecialKey" .s:fmt_revr .s:fg_red .s:bg_none - exe "hi! NonText" .s:fmt_bold .s:fg_base1 .s:bg_none + exe "hi! NonText" .s:fmt_bold .s:fg_red .s:bg_none elseif (g:solarized_visibility=="low") exe "hi! SpecialKey" .s:fmt_bold .s:fg_base02 .s:bg_none exe "hi! NonText" .s:fmt_bold .s:fg_base02 .s:bg_none else - exe "hi! SpecialKey" .s:fmt_bold .s:fg_red .s:bg_none - exe "hi! NonText" .s:fmt_bold .s:fg_base01 .s:bg_none + exe "hi! SpecialKey" .s:fmt_bold .s:fg_base00 .s:bg_base02 + exe "hi! NonText" .s:fmt_bold .s:fg_base00 .s:bg_none endif exe "hi! StatusLine" .s:fmt_none .s:fg_base1 .s:bg_base02 .s:fmt_revbb exe "hi! StatusLineNC" .s:fmt_none .s:fg_base00 .s:bg_base02 .s:fmt_revbb