Mercurial > vim
comparison runtime/optwin.vim @ 1120:e6db096b07a1
updated for version 7.1a
author | vimboss |
---|---|
date | Sat, 05 May 2007 17:15:44 +0000 |
parents | a209672376fd |
children | 5027d3220e2a |
comparison
equal
deleted
inserted
replaced
1119:dd9842fb18dd | 1120:e6db096b07a1 |
---|---|
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: 2006 Apr 24 | 4 " Last Change: 2006 Oct 10 |
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 |
606 if has("eval") | 606 if has("eval") |
607 call append("$", "balloonexpr\texpression to show in balloon eval") | 607 call append("$", "balloonexpr\texpression to show in balloon eval") |
608 call append("$", " \tset bexpr=" . &bexpr) | 608 call append("$", " \tset bexpr=" . &bexpr) |
609 endif | 609 endif |
610 endif | 610 endif |
611 if exists("&macatsui") | 611 if exists("+macatsui") |
612 call append("$", "macatsui\tuse ATSUI text drawing; disable to avoid display problems") | 612 call append("$", "macatsui\tuse ATSUI text drawing; disable to avoid display problems") |
613 call <SID>OptionG("macatsui", &macatsui) | 613 call <SID>OptionG("macatsui", &macatsui) |
614 endif | 614 endif |
615 endif | 615 endif |
616 | 616 |
1210 call <SID>BinOptionG("secure", &secure) | 1210 call <SID>BinOptionG("secure", &secure) |
1211 call append("$", "gdefault\tuse the 'g' flag for \":substitute\"") | 1211 call append("$", "gdefault\tuse the 'g' flag for \":substitute\"") |
1212 call <SID>BinOptionG("gd", &gd) | 1212 call <SID>BinOptionG("gd", &gd) |
1213 call append("$", "edcompatible\t'g' and 'c' flags of \":substitute\" toggle") | 1213 call append("$", "edcompatible\t'g' and 'c' flags of \":substitute\" toggle") |
1214 call <SID>BinOptionG("ed", &ed) | 1214 call <SID>BinOptionG("ed", &ed) |
1215 if exists("+opendevice") | |
1216 call append("$", "opendevice\tallow reading/writing devices") | |
1217 call <SID>BinOptionG("odev", &odev) | |
1218 endif | |
1219 if exists("+maxfuncdepth") | |
1215 call append("$", "maxfuncdepth\tmaximum depth of function calls") | 1220 call append("$", "maxfuncdepth\tmaximum depth of function calls") |
1216 call append("$", " \tset mfd=" . &mfd) | 1221 call append("$", " \tset mfd=" . &mfd) |
1222 endif | |
1217 if has("mksession") | 1223 if has("mksession") |
1218 call append("$", "sessionoptions\tlist of words that specifies what to put in a session file") | 1224 call append("$", "sessionoptions\tlist of words that specifies what to put in a session file") |
1219 call <SID>OptionG("ssop", &ssop) | 1225 call <SID>OptionG("ssop", &ssop) |
1220 call append("$", "viewoptions\tlist of words that specifies what to save for :mkview") | 1226 call append("$", "viewoptions\tlist of words that specifies what to save for :mkview") |
1221 call <SID>OptionG("vop", &vop) | 1227 call <SID>OptionG("vop", &vop) |