Mercurial > vim
comparison runtime/doc/eval.txt @ 31139:20cf2080f1ee
Update runtime files
Commit: https://github.com/vim/vim/commit/d13166e788fcaef59ec65c20b46ca4be16625669
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 18 21:49:57 2022 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Nov 2022 23:00:05 +0100 |
parents | 5acd6f02ea35 |
children | a7801222c9c5 |
comparison
equal
deleted
inserted
replaced
31138:e3510cfd5e37 | 31139:20cf2080f1ee |
---|---|
1 *eval.txt* For Vim version 9.0. Last change: 2022 Oct 07 | 1 *eval.txt* For Vim version 9.0. Last change: 2022 Nov 13 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
3070 | 3070 |
3071 | 3071 |
3072 :unlo[ckvar][!] [depth] {name} ... *:unlockvar* *:unlo* *E1246* | 3072 :unlo[ckvar][!] [depth] {name} ... *:unlockvar* *:unlo* *E1246* |
3073 Unlock the internal variable {name}. Does the | 3073 Unlock the internal variable {name}. Does the |
3074 opposite of |:lockvar|. | 3074 opposite of |:lockvar|. |
3075 | |
3076 If {name} does not exist: | |
3077 - In |Vim9| script an error is given. | |
3078 - In legacy script this is silently ignored. | |
3075 | 3079 |
3076 :if {expr1} *:if* *:end* *:endif* *:en* *E171* *E579* *E580* | 3080 :if {expr1} *:if* *:end* *:endif* *:en* *E171* *E579* *E580* |
3077 :en[dif] Execute the commands until the next matching `:else` | 3081 :en[dif] Execute the commands until the next matching `:else` |
3078 or `:endif` if {expr1} evaluates to non-zero. | 3082 or `:endif` if {expr1} evaluates to non-zero. |
3079 Although the short forms work, it is recommended to | 3083 Although the short forms work, it is recommended to |