From a5d3dd9359cd727f7c2e89b9b3951d55df4acf5d Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 25 Dec 2021 11:31:54 +0800 Subject: vim-patch:partial:0e6adf8a29d5 Update runtime files https://github.com/vim/vim/commit/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471 --- runtime/optwin.vim | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'runtime') diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 99420c524b..c873252909 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: Bram Moolenaar -" Last Change: 2020 Oct 27 +" Last Change: 2021 Dec 12 " If there already is an option window, jump to that one. let buf = bufnr('option-window') @@ -261,10 +261,8 @@ call OptionG("sect", §) call append("$", "path\tlist of directory names used for file searching") call append("$", "\t(global or local to buffer)") call OptionG("pa", &pa) -if exists("+cdhome") - call AddOption("cdhome", "change directory to the home directory by :cd") - call BinOptionG("cdh", &cdh) -endif +call AddOption("cdhome", ":cd without argument goes to the home directory") +call BinOptionG("cdh", &cdh) call append("$", "cdpath\tlist of directory names used for :cd") call OptionG("cd", &cd) if exists("+autochdir") -- cgit