Mercurial > vim
comparison runtime/optwin.vim @ 737:59971e227f8c
updated for version 7.0222
author | vimboss |
---|---|
date | Sun, 12 Mar 2006 21:50:18 +0000 |
parents | ebd1799949ff |
children | c0f1b710ce07 |
comparison
equal
deleted
inserted
replaced
736:ba51f75bd4b5 | 737:59971e227f8c |
---|---|
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 Mar 10 | 4 " Last Change: 2006 Mar 12 |
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 |
387 call append("$", "highlight\twhich highlighting to use for various occasions") | 387 call append("$", "highlight\twhich highlighting to use for various occasions") |
388 call <SID>OptionG("hl", &hl) | 388 call <SID>OptionG("hl", &hl) |
389 call append("$", "hlsearch\thighlight all matches for the last used search pattern") | 389 call append("$", "hlsearch\thighlight all matches for the last used search pattern") |
390 call <SID>BinOptionG("hls", &hls) | 390 call <SID>BinOptionG("hls", &hls) |
391 if has("syntax") | 391 if has("syntax") |
392 call append("$", "cursorcolumn\thighlight the screen column of the cursor") | |
393 call append("$", "\t(local to window)") | |
394 call <SID>BinOptionL("cuc") | |
395 call append("$", "cursorline\thighlight the screen line of the cursor") | |
396 call append("$", "\t(local to window)") | |
397 call <SID>BinOptionL("cul") | |
392 call append("$", "spell\thighlight spelling mistakes") | 398 call append("$", "spell\thighlight spelling mistakes") |
393 call append("$", "\t(local to window)") | 399 call append("$", "\t(local to window)") |
394 call <SID>BinOptionL("spell") | 400 call <SID>BinOptionL("spell") |
395 call append("$", "spelllang\tlist of accepted languages") | 401 call append("$", "spelllang\tlist of accepted languages") |
396 call append("$", "\t(local to buffer)") | 402 call append("$", "\t(local to buffer)") |