comparison runtime/optwin.vim @ 381:997a094e44d2

updated for version 7.0099
author vimboss
date Fri, 01 Jul 2005 22:33:52 +0000
parents 476198990769
children 7180554eefb1
comparison
equal deleted inserted replaced
380:da6e29ecd0fc 381:997a094e44d2
1 " These commands create the option window. 1 " These commands create the option window.
2 " 2 "
3 " Maintainer: Bram Moolenaar <Bram@vim.org> 3 " Maintainer: Bram Moolenaar <Bram@vim.org>
4 " Last Change: 2005 Mar 07 4 " Last Change: 2005 Jul 01
5 5
6 " If there already is an option window, jump to that one. 6 " If there already is an option window, jump to that one.
7 if bufwinnr("option-window") > 0 7 if bufwinnr("option-window") > 0
8 let s:thiswin = winnr() 8 let s:thiswin = winnr()
9 while 1 9 while 1
366 call append("$", "\t(local to window)") 366 call append("$", "\t(local to window)")
367 call <SID>OptionL("nuw") 367 call <SID>OptionL("nuw")
368 endif 368 endif
369 369
370 370
371 call <SID>Header("syntax and highlighting") 371 call <SID>Header("syntax, highlighting and spelling")
372 call append("$", "background\t\"dark\" or \"light\"; the background color brightness") 372 call append("$", "background\t\"dark\" or \"light\"; the background color brightness")
373 call <SID>OptionG("bg", &bg) 373 call <SID>OptionG("bg", &bg)
374 if has("autocmd") 374 if has("autocmd")
375 call append("$", "filetype\ttype of file; triggers the FileType event when set") 375 call append("$", "filetype\ttype of file; triggers the FileType event when set")
376 call append("$", "\t(local to buffer)") 376 call append("$", "\t(local to buffer)")
383 endif 383 endif
384 call append("$", "highlight\twhich highlighting to use for various occasions") 384 call append("$", "highlight\twhich highlighting to use for various occasions")
385 call <SID>OptionG("hl", &hl) 385 call <SID>OptionG("hl", &hl)
386 call append("$", "hlsearch\thighlight all matches for the last used search pattern") 386 call append("$", "hlsearch\thighlight all matches for the last used search pattern")
387 call <SID>BinOptionG("hls", &hls) 387 call <SID>BinOptionG("hls", &hls)
388 if has("syntax")
389 call append("$", "spell\thighlight spelling mistakes")
390 call append("$", "\t(local to window)")
391 call <SID>BinOptionL("spell")
392 call append("$", "spelllang\tlist of accepted languages")
393 call append("$", "\t(local to buffer)")
394 call <SID>OptionL("spl")
395 call append("$", "spellfile\tfile that \"zg\" adds good words to")
396 call append("$", "\t(local to buffer)")
397 call <SID>OptionL("spf")
398 call append("$", "spellsuggest\tmethods used to suggest corrections")
399 call <SID>OptionG("sps", &sps)
400 endif
388 401
389 402
390 call <SID>Header("multiple windows") 403 call <SID>Header("multiple windows")
391 call append("$", "laststatus\t0, 1 or 2; when to use a status line for the last window") 404 call append("$", "laststatus\t0, 1 or 2; when to use a status line for the last window")
392 call append("$", " \tset ls=" . &ls) 405 call append("$", " \tset ls=" . &ls)
612 endif 625 endif
613 call append("$", "report\tthreshold for reporting number of changed lines") 626 call append("$", "report\tthreshold for reporting number of changed lines")
614 call append("$", " \tset report=" . &report) 627 call append("$", " \tset report=" . &report)
615 call append("$", "verbose\tthe higher the more messages are given") 628 call append("$", "verbose\tthe higher the more messages are given")
616 call append("$", " \tset vbs=" . &vbs) 629 call append("$", " \tset vbs=" . &vbs)
630 call append("$", "verbosefile\tfile to write messages in")
631 call <SID>OptionG("vfile", &vfile)
617 call append("$", "more\tpause listings when the screen is full") 632 call append("$", "more\tpause listings when the screen is full")
618 call <SID>BinOptionG("more", &more) 633 call <SID>BinOptionG("more", &more)
619 if has("dialog_con") || has("dialog_gui") 634 if has("dialog_con") || has("dialog_gui")
620 call append("$", "confirm\tstart a dialog when a command fails") 635 call append("$", "confirm\tstart a dialog when a command fails")
621 call <SID>BinOptionG("cf", &cf) 636 call <SID>BinOptionG("cf", &cf)