aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ethan Schoonover <es@ethanschoonover.com>2011-04-08 00:34:45 -0700
committerGravatar Ethan Schoonover <es@ethanschoonover.com>2011-04-08 00:34:45 -0700
commitbc35c899ec8ef23d481a95028b93ec50b04bd16c (patch)
treeb7989131cfd34be9be36334bac6d7ae0e48cca28
parent9f2b8bc69ddd589156d92fbdc9800c0e43328368 (diff)
downloadvim-colors-solarized-bc35c899ec8ef23d481a95028b93ec50b04bd16c.tar.gz
[vim] locked cursor to static (non reverse) colors
-rw-r--r--colors/solarized.vim33
1 files changed, 18 insertions, 15 deletions
diff --git a/colors/solarized.vim b/colors/solarized.vim
index 4bd3cb5..d2ed273 100644
--- a/colors/solarized.vim
+++ b/colors/solarized.vim
@@ -624,17 +624,18 @@ exe "hi! Todo" .s:fmt_bold .s:fg_magenta.s:bg_none
" *Todo anything that needs extra attention; mostly the
" keywords TODO FIXME and XXX
"
-"Highlighting groups for various occasions
-"-----------------------------------------
+"}}}
+" Extended highlighting "{{{
+" ---------------------------------------------------------------------
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! SpecialKey" .s:fmt_revr .s:fg_red .s:bg_none
+ exe "hi! NonText" .s:fmt_bold .s:fg_base1 .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
+ 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_red .s:bg_none
+ exe "hi! NonText" .s:fmt_bold .s:fg_base01 .s:bg_none
endif
exe "hi! Directory" .s:fmt_none .s:fg_blue .s:bg_none
exe "hi! ErrorMsg" .s:fmt_revr .s:fg_red .s:bg_none
@@ -644,8 +645,13 @@ exe "hi! MoreMsg" .s:fmt_none .s:fg_blue .s:bg_none
exe "hi! ModeMsg" .s:fmt_none .s:fg_blue .s:bg_none
exe "hi! LineNr" .s:fmt_none .s:fg_base01 .s:bg_base02
exe "hi! Question" .s:fmt_bold .s:fg_cyan .s:bg_none
-exe "hi! StatusLine" .s:fmt_none .s:fg_base02 .s:bg_base1
-exe "hi! StatusLineNC" .s:fmt_none .s:fg_base02 .s:bg_base00
+if (has("gui_running")) || &t_Co > 8
+ exe "hi! StatusLine" .s:fmt_none .s:fg_base02 .s:bg_base1
+ exe "hi! StatusLineNC" .s:fmt_none .s:fg_base02 .s:bg_base00
+else
+ exe "hi! StatusLine" .s:fmt_none .s:fg_base02 .s:bg_base2
+ exe "hi! StatusLineNC" .s:fmt_none .s:fg_base02 .s:bg_base2
+endif
exe "hi! VertSplit" .s:fmt_bold .s:fg_base00 .s:bg_base00
exe "hi! Title" .s:fmt_bold .s:fg_orange .s:bg_none
exe "hi! Visual" .s:fmt_stnd .s:fg_none .s:bg_base02
@@ -674,14 +680,11 @@ exe "hi! TabLineFill" .s:fmt_undr .s:fg_base0 .s:bg_base02 .s:sp_base0
exe "hi! CursorColumn" .s:fmt_none .s:fg_none .s:bg_base02
exe "hi! CursorLine" .s:fmt_uopt .s:fg_none .s:bg_base02 .s:sp_base1
exe "hi! ColorColumn" .s:fmt_none .s:fg_none .s:bg_base02
-exe "hi! Cursor" .s:fmt_revr .s:fg_none .s:bg_none
-exe "hi! lCursor" .s:fmt_stnd .s:fg_none .s:bg_none
+exe "hi! Cursor" .s:fmt_none .s:fg_base03 .s:bg_base0
+hi! link lCursor Cursor
exe "hi! MatchParen" .s:fmt_bold .s:fg_red .s:bg_base01
"}}}
-" Extended highlighting "{{{
-" ---------------------------------------------------------------------
-"}}}
" vim syntax highlighting "{{{
" ---------------------------------------------------------------------
exe "hi! vimLineComment" . s:fg_base01 .s:bg_none .s:fmt_ital