mirror of
https://github.com/altercation/solarized
synced 2024-11-21 19:23:02 +00:00
Merge commit '528a59f26d12278698bb946f8fb82a63711eec21'
This commit is contained in:
commit
856f366dcb
1 changed files with 45 additions and 45 deletions
|
@ -1027,14 +1027,14 @@ if !exists(":SolarizedOptions")
|
|||
endif
|
||||
|
||||
function! SolarizedMenu()
|
||||
if exists("g:loaded_solarized_menu")
|
||||
if exists("g:loaded_solarized_menu")
|
||||
try
|
||||
silent! aunmenu Solarized
|
||||
endtry
|
||||
endif
|
||||
let g:loaded_solarized_menu = 1
|
||||
endif
|
||||
let g:loaded_solarized_menu = 1
|
||||
|
||||
if g:colors_name == "solarized" && g:solarized_menu != 0
|
||||
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>
|
||||
|
@ -1084,7 +1084,7 @@ if g:colors_name == "solarized" && g:solarized_menu != 0
|
|||
an 9999.78 &Help.&Toggle\ Background :help togglebg<CR>
|
||||
an 9999.79 &Help.-sep3- <Nop>
|
||||
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
||||
autocmd ColorScheme * if g:colors_name != "solarized" | silent! aunmenu Solarized | else | call SolarizedMenu() | endif
|
||||
|
|
Loading…
Reference in a new issue