Mercurial > vim
comparison runtime/optwin.vim @ 12:bdeee1504ac1
updated for version 7.0004
author | vimboss |
---|---|
date | Fri, 02 Jul 2004 15:38:35 +0000 |
parents | 3fc0f57ecb91 |
children | 24d5189d3956 |
comparison
equal
deleted
inserted
replaced
11:4424b47a0797 | 12:bdeee1504ac1 |
---|---|
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: 2004 May 04 | 4 " Last Change: 2004 Jul 02 |
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 |
654 call <SID>OptionL("fo") | 654 call <SID>OptionL("fo") |
655 if has("insert_expand") | 655 if has("insert_expand") |
656 call append("$", "complete\tspecifies how Insert mode completion works") | 656 call append("$", "complete\tspecifies how Insert mode completion works") |
657 call append("$", "\t(local to buffer)") | 657 call append("$", "\t(local to buffer)") |
658 call <SID>OptionL("cpt") | 658 call <SID>OptionL("cpt") |
659 call append("$", "completefunc\tuser defined function for Insert mode completion") | |
660 call append("$", "\t(local to buffer)") | |
661 call <SID>OptionL("cfu") | |
659 call append("$", "dictionary\tlist of dictionary files for keyword completion") | 662 call append("$", "dictionary\tlist of dictionary files for keyword completion") |
660 call append("$", "\t(global or local to buffer)") | 663 call append("$", "\t(global or local to buffer)") |
661 call <SID>OptionG("dict", &dict) | 664 call <SID>OptionG("dict", &dict) |
662 call append("$", "thesaurus\tlist of thesaurus files for keyword completion") | 665 call append("$", "thesaurus\tlist of thesaurus files for keyword completion") |
663 call append("$", "\t(global or local to buffer)") | 666 call append("$", "\t(global or local to buffer)") |
1004 call append("$", "iskeyword\tspecifies the characters in a keyword") | 1007 call append("$", "iskeyword\tspecifies the characters in a keyword") |
1005 call append("$", "\t(local to buffer)") | 1008 call append("$", "\t(local to buffer)") |
1006 call <SID>OptionL("isk") | 1009 call <SID>OptionL("isk") |
1007 call append("$", "isprint\tspecifies printable characters") | 1010 call append("$", "isprint\tspecifies printable characters") |
1008 call <SID>OptionG("isp", &isp) | 1011 call <SID>OptionG("isp", &isp) |
1012 if has("textobjects") | |
1013 call append("$", "quoteescape\tspecifies escape characters in a string") | |
1014 call append("$", "\t(local to buffer)") | |
1015 call <SID>OptionL("qe") | |
1016 endif | |
1009 if has("rightleft") | 1017 if has("rightleft") |
1010 call append("$", "rightleft\tdisplay the buffer right-to-left") | 1018 call append("$", "rightleft\tdisplay the buffer right-to-left") |
1011 call append("$", "\t(local to window)") | 1019 call append("$", "\t(local to window)") |
1012 call <SID>BinOptionL("rl") | 1020 call <SID>BinOptionL("rl") |
1013 call append("$", "rightleftcmd\tWhen to edit the command-line right-to-left") | 1021 call append("$", "rightleftcmd\tWhen to edit the command-line right-to-left") |