aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-01 11:50:38 +0800
committerGitHub <noreply@github.com>2024-08-01 03:50:38 +0000
commit2b4049719ab6cc01afcde3b5be7ba33fd1e33ab4 (patch)
treecf078dea473e3d23d9b146d25834bc745cebc680 /runtime/doc/eval.txt
parent02eaf7c4c10f08a73c2d9e2618918f424ac18fd2 (diff)
downloadrneovim-2b4049719ab6cc01afcde3b5be7ba33fd1e33ab4.tar.gz
rneovim-2b4049719ab6cc01afcde3b5be7ba33fd1e33ab4.tar.bz2
rneovim-2b4049719ab6cc01afcde3b5be7ba33fd1e33ab4.zip
vim-patch:partial:f10911e: Update runtime files (#29936)
https://github.com/vim/vim/commit/f10911e5db16f1fe6ab519c5d091ad0c1df0d063 Also cherry-pick E1142 and E1156 tags from Vim. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b6d16795d2..e0c45503cc 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -894,6 +894,9 @@ Example: >
All expressions within one level are parsed from left to right.
+Expression nesting is limited to 1000 levels deep (300 when build with MSVC)
+to avoid running out of stack and crashing. *E1169*
+
------------------------------------------------------------------------------
expr1 *expr1* *ternary* *falsy-operator* *??* *E109*
@@ -2187,7 +2190,7 @@ text...
:lockvar v
:let v = 'asdf' " fails!
:unlet v " works
-< *E741* *E940*
+< *E741* *E940* *E1122*
If you try to change a locked variable you get an
error message: "E741: Value is locked: {name}".
If you try to lock or unlock a built-in variable you