# HG changeset patch # User Bram Moolenaar # Date 1279979311 -7200 # Node ID 295d53417fc3840317b47ed551cfc5fcf3c3cf47 # Parent aeea25941392985256a2668879800ca665ff8de4 Fix 'autochdir' not showing up in :options window. (Dominique Pelle) Adjust :options window for changes in conceal options. diff --git a/runtime/optwin.vim b/runtime/optwin.vim --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: Bram Moolenaar -" 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 call OptionG("pa", &pa) call append("$", "cdpath\tlist of directory names used for :cd") call OptionG("cd", &cd) -if has("netbeans_intg") || has("sun_workshop") +if exists("+autochdir") call append("$", "autochdir\tchange to directory of file in buffer") call BinOptionG("acd", &acd) endif @@ -374,9 +374,12 @@ if has("linebreak") call 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 OptionL("conc") + call OptionL("cole") + call append("$", "concealcursor\tcontrols whether concealable text is hidden in the cursor line") + call append("$", "\t(local to window)") + call OptionL("cocu") endif