aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-06 06:43:01 +0800
committerGitHub <noreply@github.com>2024-05-06 06:43:01 +0800
commitb024643ca7571cffb3dcc79c21dbccfe14aa3a6f (patch)
treea07c70559ba84fa950b21782190df4fa1f60cb6e /runtime/doc/eval.txt
parent3d4eb9d544cbbe39544586890b5de83a48de3680 (diff)
downloadrneovim-b024643ca7571cffb3dcc79c21dbccfe14aa3a6f.tar.gz
rneovim-b024643ca7571cffb3dcc79c21dbccfe14aa3a6f.tar.bz2
rneovim-b024643ca7571cffb3dcc79c21dbccfe14aa3a6f.zip
vim-patch:53753f6a4925 (#28647)
runtime(doc): Fix typos in help documents closes: vim/vim#14720 https://github.com/vim/vim/commit/53753f6a49253cdb3f98f6461d3de3b07ed67451 Co-authored-by: h-east <h.east.727@gmail.com> Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index ef416fe56f..7b4dba5a50 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2144,6 +2144,10 @@ text...
:cons[t] {var-name} = {expr1}
:cons[t] [{name1}, {name2}, ...] = {expr1}
:cons[t] [{name}, ..., ; {lastname}] = {expr1}
+:cons[t] {var-name} =<< [trim] [eval] {marker}
+text...
+text...
+{marker}
Similar to |:let|, but additionally lock the variable
after setting the value. This is the same as locking
the variable with |:lockvar| just after |:let|, thus: >