aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-16 09:01:33 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-16 10:15:15 +0800
commitf4d3e279e861dc37dd047c81a0807767a74d251b (patch)
tree96ebf30a32c73904ad4482e58dac2fb246cfb501 /runtime
parent08121ef69f47f8ad8f8903a732920412e24d30c1 (diff)
downloadrneovim-f4d3e279e861dc37dd047c81a0807767a74d251b.tar.gz
rneovim-f4d3e279e861dc37dd047c81a0807767a74d251b.tar.bz2
rneovim-f4d3e279e861dc37dd047c81a0807767a74d251b.zip
vim-patch:8.2.2977: crash when using a null function reference
Problem: Crash when using a null function reference. (Naohiro Ono) Solution: Check for an invalid function name. (closes vim/vim#8367) https://github.com/vim/vim/commit/22db0d549f64aa3d8a6e366b70eb8d7e66933b82 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 1ff6e3c360..ccb615602f 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -139,7 +139,7 @@ You will not get an error if you try to change the type of a variable.
1.2 Function references ~
- *Funcref* *E695* *E718*
+ *Funcref* *E695* *E718* *E1192*
A Funcref variable is obtained with the |function()| function, the |funcref()|
function or created with the lambda expression |expr-lambda|. It can be used
in an expression in the place of a function name, before the parenthesis