From 7b1463bca36d16e70afd6779e4fbb30761048c91 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 11 Dec 2021 17:24:39 +0000 Subject: [PATCH] patch 8.2.3784: the help for options is outdated Problem: The help for options is outdated. Solution: Include all the recent changes. --- runtime/doc/options.txt | 18 ++++++++++++++++-- src/version.c | 2 ++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index c49b60824..a5ff937e0 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.2. Last change: 2021 Dec 03 +*options.txt* For Vim version 8.2. Last change: 2021 Dec 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -391,7 +391,11 @@ lambda it will be converted to the name, e.g. "123". Examples: " set using a variable with lambda expression let L = {a, b, c -> MyTagFunc(a, b , c)} let &tagfunc = L -< + +In Vim9 script, in a compiled function, you can use a lambda, but a +closured does not work, because the function will be called without the +context of where it was defined. + Setting the filetype @@ -1489,6 +1493,15 @@ A jump table for the options with a short description can be found at |Q_op|. case mapping, the current locale is not effective. This probably only matters for Turkish. + *'cdhome'* *'cdh'* +'cdhome' 'cdh' boolean (default: off) + global + When on, |:cd|, |:tcd| and |:lcd| without an argument changes the + current working directory to the |$HOME| directory like in Unix. + When off, those commands just print the current directory name. + On Unix this option has no effect. + NOTE: This option is reset when 'compatible' is set. + *'cdpath'* *'cd'* *E344* *E346* 'cdpath' 'cd' string (default: equivalent to $CDPATH or ",,") global @@ -1830,6 +1843,7 @@ A jump table for the options with a short description can be found at |Q_op|. 'balloonexpr' + "" text to show in evaluation balloon 'breakindent' + off don't indent when wrapping lines 'cedit' - {unchanged} {set vim default only on resetting 'cp'} + 'cdhome' + off ":cd" don't chdir to home on non-Unix 'cindent' + off no C code indentation 'compatible' - {unchanged} {set vim default only on resetting 'cp'} 'copyindent' + off don't copy indent structure diff --git a/src/version.c b/src/version.c index 1169d103c..ed491a8e3 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3784, /**/ 3783, /**/ -- 2.40.0