aboutsummaryrefslogtreecommitdiffstats
path: root/colors/solarized.vim
diff options
context:
space:
mode:
Diffstat (limited to 'colors/solarized.vim')
-rw-r--r--colors/solarized.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/colors/solarized.vim b/colors/solarized.vim
index c76259c..1f3df20 100644
--- a/colors/solarized.vim
+++ b/colors/solarized.vim
@@ -865,7 +865,7 @@ autocmd GUIEnter * if (s:vmode != "gui") | exe "colorscheme " . g:colors_name |
"
" let g:solarized_menu=0
-function! SolarizedOptions()
+function! s:SolarizedOptions()
new
setf vim
let failed = append(0, s:defaults_list)
@@ -874,6 +874,9 @@ function! SolarizedOptions()
let failed = append(0, s:lazycat_list)
0
endfunction
+if !exists(":SolarizedOptions")
+ command SolarizedOptions :call s:SolarizedOptions()
+endif
function! SolarizedMenu()
if exists("g:loaded_solarized_menu")
@@ -908,7 +911,7 @@ if g:colors_name == "solarized"
amenu &Solarized.&Help.&Toggle\ Background\ Help :help togglebg<CR>
amenu &Solarized.&Help.&Removing\ This\ Menu :help solarized-menu<CR>
- amenu &Solarized.&Autogenerate\ options :call SolarizedOptions()<CR>
+ amenu &Solarized.&Autogenerate\ options :SolarizedOptions<CR>
an 9999.77 &Help.&Solarized\ Colorscheme :help solarized<CR>
an 9999.78 &Help.&Toggle\ Background :help togglebg<CR>