vim-patch:partial:0e6adf8a29d5

Update runtime files
0e6adf8a29
This commit is contained in:
zeertzjq 2021-12-25 11:31:54 +08:00
parent cf609ce655
commit a5d3dd9359
2 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,7 @@
" These commands create the option window. " These commands create the option window.
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2020 Oct 27 " Last Change: 2021 Dec 12
" If there already is an option window, jump to that one. " If there already is an option window, jump to that one.
let buf = bufnr('option-window') let buf = bufnr('option-window')
@ -261,10 +261,8 @@ call <SID>OptionG("sect", &sect)
call append("$", "path\tlist of directory names used for file searching") call append("$", "path\tlist of directory names used for file searching")
call append("$", "\t(global or local to buffer)") call append("$", "\t(global or local to buffer)")
call <SID>OptionG("pa", &pa) call <SID>OptionG("pa", &pa)
if exists("+cdhome") call <SID>AddOption("cdhome", ":cd without argument goes to the home directory")
call <SID>AddOption("cdhome", "change directory to the home directory by :cd") call <SID>BinOptionG("cdh", &cdh)
call <SID>BinOptionG("cdh", &cdh)
endif
call append("$", "cdpath\tlist of directory names used for :cd") call append("$", "cdpath\tlist of directory names used for :cd")
call <SID>OptionG("cd", &cd) call <SID>OptionG("cd", &cd)
if exists("+autochdir") if exists("+autochdir")

View File

@ -276,7 +276,7 @@ return {
}, },
{ {
full_name='cdhome', abbreviation='cdh', full_name='cdhome', abbreviation='cdh',
short_desc=N_("change directory to the home directory by :cd"), short_desc=N_(":cd without argument goes to the home directory"),
type='bool', scope={'global'}, type='bool', scope={'global'},
secure=true, secure=true,
varname='p_cdh', varname='p_cdh',