summaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-11-18 21:49:57 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-18 21:49:57 +0000
commitd13166e788fcaef59ec65c20b46ca4be16625669 (patch)
tree4e1b18aac62e1650eaf92cfab756031cd50f4b10 /runtime/doc/eval.txt
parent236dffab43f919bdbc565e6edc38eb27e7a5b657 (diff)
downloadvim-git-d13166e788fcaef59ec65c20b46ca4be16625669.tar.gz
Update runtime files
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index ba95f3291..3515891c6 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 9.0. Last change: 2022 Oct 07
+*eval.txt* For Vim version 9.0. Last change: 2022 Nov 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3073,6 +3073,10 @@ text...
Unlock the internal variable {name}. Does the
opposite of |:lockvar|.
+ If {name} does not exist:
+ - In |Vim9| script an error is given.
+ - In legacy script this is silently ignored.
+
:if {expr1} *:if* *:end* *:endif* *:en* *E171* *E579* *E580*
:en[dif] Execute the commands until the next matching `:else`
or `:endif` if {expr1} evaluates to non-zero.