diff options
author | ZyX <kp-pav@yandex.ru> | 2017-02-23 00:59:11 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-02-23 19:48:41 +0300 |
commit | d8a7e5fdbb7d94f06e30aedaea42028caec52c95 (patch) | |
tree | 9fd58ebc04c450f95dc9d6492b0f95ae18b047a8 /runtime | |
parent | 9668d26a4384376d1eb052aa093d65c060359fef (diff) | |
download | rneovim-d8a7e5fdbb7d94f06e30aedaea42028caec52c95.tar.gz rneovim-d8a7e5fdbb7d94f06e30aedaea42028caec52c95.tar.bz2 rneovim-d8a7e5fdbb7d94f06e30aedaea42028caec52c95.zip |
eval: Forbid (un)locking b:changedtick
Port of vim-patch:8.0.0343
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 1105601a0e..88ab502ab6 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -8606,9 +8606,12 @@ This does NOT work: > :lockvar v :let v = 'asdf' " fails! :unlet v -< *E741* +< *E741* *E940* If you try to change a locked variable you get an - error message: "E741: Value is locked: {name}" + error message: "E741: Value is locked: {name}". + If you try to lock or unlock a built-in variable you + will get an error message "E940: Cannot lock or unlock + variable {name}". [depth] is relevant when locking a |List| or |Dictionary|. It specifies how deep the locking goes: |