mirror of
https://github.com/altercation/solarized
synced 2024-11-25 05:00:19 +00:00
[vim] solarized.vim menu updates
This commit is contained in:
parent
7a7e5c8818
commit
528a59f26d
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