[vim] solarized - added SolarizedOptions command
parent
f300969c90
commit
ca234ef7ea
|
|
@ -865,7 +865,7 @@ autocmd GUIEnter * if (s:vmode != "gui") | exe "colorscheme " . g:colors_name |
|
||||||
"
|
"
|
||||||
" let g:solarized_menu=0
|
" let g:solarized_menu=0
|
||||||
|
|
||||||
function! SolarizedOptions()
|
function! s:SolarizedOptions()
|
||||||
new
|
new
|
||||||
setf vim
|
setf vim
|
||||||
let failed = append(0, s:defaults_list)
|
let failed = append(0, s:defaults_list)
|
||||||
|
|
@ -874,6 +874,9 @@ function! SolarizedOptions()
|
||||||
let failed = append(0, s:lazycat_list)
|
let failed = append(0, s:lazycat_list)
|
||||||
0
|
0
|
||||||
endfunction
|
endfunction
|
||||||
|
if !exists(":SolarizedOptions")
|
||||||
|
command SolarizedOptions :call s:SolarizedOptions()
|
||||||
|
endif
|
||||||
|
|
||||||
function! SolarizedMenu()
|
function! SolarizedMenu()
|
||||||
if exists("g:loaded_solarized_menu")
|
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.&Toggle\ Background\ Help :help togglebg<CR>
|
||||||
amenu &Solarized.&Help.&Removing\ This\ Menu :help solarized-menu<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.77 &Help.&Solarized\ Colorscheme :help solarized<CR>
|
||||||
an 9999.78 &Help.&Toggle\ Background :help togglebg<CR>
|
an 9999.78 &Help.&Toggle\ Background :help togglebg<CR>
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,9 @@ You can easily modify and experiment with Solarized display options using the
|
||||||
Solarized menu when using Vim in gui mode. Once you have things set to your
|
Solarized menu when using Vim in gui mode. Once you have things set to your
|
||||||
liking, you can autogenerate the current option list in a format ready for
|
liking, you can autogenerate the current option list in a format ready for
|
||||||
insertion into your .vimrc file using the Solarized menu "Autogenerate
|
insertion into your .vimrc file using the Solarized menu "Autogenerate
|
||||||
Options" command.
|
Options" command or at the command line with:
|
||||||
|
|
||||||
|
:SolarizedOptions
|
||||||
|
|
||||||
|
|
||||||
OPTION LIST
|
OPTION LIST
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue