Mercurial > vim
comparison runtime/optwin.vim @ 842:a209672376fd v7.0f
updated for version 7.0f
author | vimboss |
---|---|
date | Mon, 24 Apr 2006 19:47:27 +0000 |
parents | 1f3b1021f002 |
children | e6db096b07a1 |
comparison
equal
deleted
inserted
replaced
841:c2cae213194d | 842:a209672376fd |
---|---|
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 21 | 4 " Last Change: 2006 Apr 24 |
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 |
477 call append("$", " \tset stal=" . &stal) | 477 call append("$", " \tset stal=" . &stal) |
478 call append("$", "tabpagemax\tmaximum number of tab pages to open for -p and \"tab all\"") | 478 call append("$", "tabpagemax\tmaximum number of tab pages to open for -p and \"tab all\"") |
479 call append("$", " \tset tpm=" . &tpm) | 479 call append("$", " \tset tpm=" . &tpm) |
480 call append("$", "tabline\tcustom tab pages line") | 480 call append("$", "tabline\tcustom tab pages line") |
481 call <SID>OptionG("tal", &tal) | 481 call <SID>OptionG("tal", &tal) |
482 call append("$", "guitablabel\tcustom tab page label for the GUI") | 482 if has("gui") |
483 call <SID>OptionG("gtl", >l) | 483 call append("$", "guitablabel\tcustom tab page label for the GUI") |
484 call append("$", "guitabtooltip\tcustom tab page tooltip for the GUI") | 484 call <SID>OptionG("gtl", >l) |
485 call <SID>OptionG("gtt", >t) | 485 call append("$", "guitabtooltip\tcustom tab page tooltip for the GUI") |
486 call <SID>OptionG("gtt", >t) | |
487 endif | |
486 | 488 |
487 | 489 |
488 call <SID>Header("terminal") | 490 call <SID>Header("terminal") |
489 call append("$", "term\tname of the used terminal") | 491 call append("$", "term\tname of the used terminal") |
490 call <SID>OptionG("term", &term) | 492 call <SID>OptionG("term", &term) |
603 call <SID>BinOptionG("beval", &beval) | 605 call <SID>BinOptionG("beval", &beval) |
604 if has("eval") | 606 if has("eval") |
605 call append("$", "balloonexpr\texpression to show in balloon eval") | 607 call append("$", "balloonexpr\texpression to show in balloon eval") |
606 call append("$", " \tset bexpr=" . &bexpr) | 608 call append("$", " \tset bexpr=" . &bexpr) |
607 endif | 609 endif |
610 endif | |
611 if exists("&macatsui") | |
612 call append("$", "macatsui\tuse ATSUI text drawing; disable to avoid display problems") | |
613 call <SID>OptionG("macatsui", &macatsui) | |
608 endif | 614 endif |
609 endif | 615 endif |
610 | 616 |
611 if has("printer") | 617 if has("printer") |
612 call <SID>Header("printing") | 618 call <SID>Header("printing") |