summaryrefslogtreecommitdiffstats
path: root/runtime/optwin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-24 15:48:31 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-24 15:48:31 +0200
commitfa9a37096d2701bc0a5a3c25f249d295beaf4dfd (patch)
tree75e6515f1ae162db2584d6c8fa079e7745018b37 /runtime/optwin.vim
parent4c3a326c53c27f67f7ce8e1bbabc684c74a06634 (diff)
Fix 'autochdir' not showing up in :options window. (Dominique Pelle)
Adjust :options window for changes in conceal options.
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r--runtime/optwin.vim11
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 79894611bc..a723e0a40e 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -1,7 +1,7 @@
" These commands create the option window.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2008 May 12
+" Last Change: 2010 Jul 24
" If there already is an option window, jump to that one.
if bufwinnr("option-window") > 0
@@ -257,7 +257,7 @@ call append("$", "\t(global or local to buffer)")
call <SID>OptionG("pa", &pa)
call append("$", "cdpath\tlist of directory names used for :cd")
call <SID>OptionG("cd", &cd)
-if has("netbeans_intg") || has("sun_workshop")
+if exists("+autochdir")
call append("$", "autochdir\tchange to directory of file in buffer")
call <SID>BinOptionG("acd", &acd)
endif
@@ -374,9 +374,12 @@ if has("linebreak")
call <SID>OptionL("nuw")
endif
if has("conceal")
- call append("$", "conceallevel\tcontrols whether concealable elements are hidden")
+ call append("$", "conceallevel\tcontrols whether concealable text is hidden")
call append("$", "\t(local to window)")
- call <SID>OptionL("conc")
+ call <SID>OptionL("cole")
+ call append("$", "concealcursor\tcontrols whether concealable text is hidden in the cursor line")
+ call append("$", "\t(local to window)")
+ call <SID>OptionL("cocu")
endif