diff options
author | Ethan Schoonover <es@ethanschoonover.com> | 2011-05-02 10:13:01 -0700 |
---|---|---|
committer | Ethan Schoonover <es@ethanschoonover.com> | 2011-05-02 10:13:01 -0700 |
commit | 2b30f611f1caf299f7f1637abe7d7b8eec058a09 (patch) | |
tree | 8bf493745bb5f5496b5fc74acc2f93afbe9a9db2 | |
parent | 295f56b0121a9d3d40ce12e7e99ab35803cbacc6 (diff) | |
download | vim-colors-solarized-2b30f611f1caf299f7f1637abe7d7b8eec058a09.tar.gz |
[vim] add missing solarized_menu option
-rw-r--r-- | colors/solarized.vim | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/colors/solarized.vim b/colors/solarized.vim index dfa6200..eb18ef7 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 01 +" Modified: 2011 May 02 " " Usage "{{{ " @@ -638,15 +638,22 @@ exe "hi! DiffChange" .s:fmt_revr .s:fg_yellow .s:bg_none exe "hi! DiffDelete" .s:fmt_revr .s:fg_red .s:bg_none exe "hi! DiffText" .s:fmt_revr .s:fg_blue .s:bg_none elseif (g:solarized_diffmode=="low") -exe "hi! DiffAdd" .s:fmt_curl .s:fg_green .s:bg_none .s:sp_green -exe "hi! DiffChange" .s:fmt_curl .s:fg_yellow .s:bg_none .s:sp_yellow +exe "hi! DiffAdd" .s:fmt_undr .s:fg_green .s:bg_none .s:sp_green +exe "hi! DiffChange" .s:fmt_undr .s:fg_yellow .s:bg_none .s:sp_yellow exe "hi! DiffDelete" .s:fmt_bold .s:fg_red .s:bg_none -exe "hi! DiffText" .s:fmt_curl .s:fg_blue .s:bg_none .s:sp_blue +exe "hi! DiffText" .s:fmt_undr .s:fg_blue .s:bg_none .s:sp_blue else " normal + if has("gui_running") exe "hi! DiffAdd" .s:fmt_bold .s:fg_green .s:bg_base02 .s:sp_green exe "hi! DiffChange" .s:fmt_bold .s:fg_yellow .s:bg_base02 .s:sp_yellow exe "hi! DiffDelete" .s:fmt_bold .s:fg_red .s:bg_base02 exe "hi! DiffText" .s:fmt_bold .s:fg_blue .s:bg_base02 .s:sp_blue + else +exe "hi! DiffAdd" .s:fmt_none .s:fg_green .s:bg_base02 .s:sp_green +exe "hi! DiffChange" .s:fmt_none .s:fg_yellow .s:bg_base02 .s:sp_yellow +exe "hi! DiffDelete" .s:fmt_none .s:fg_red .s:bg_base02 +exe "hi! DiffText" .s:fmt_none .s:fg_blue .s:bg_base02 .s:sp_blue + endif endif exe "hi! SignColumn" .s:fmt_none .s:fg_base0 exe "hi! Conceal" .s:fmt_none .s:fg_blue .s:bg_none @@ -955,7 +962,7 @@ if exists("g:loaded_solarized_menu") endif let g:loaded_solarized_menu = 1 -if g:colors_name == "solarized" +if g:colors_name == "solarized" && g:solarized_menu != 0 amenu &Solarized.&Contrast.&Low\ Contrast :let g:solarized_contrast="low" \| colorscheme solarized<CR> amenu &Solarized.&Contrast.&Normal\ Contrast :let g:solarized_contrast="normal" \| colorscheme solarized<CR> |