diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 08:54:07 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 10:15:15 +0800 |
commit | 68ca16c376bd8786ffc0c7ce7619b9a0ce5657e8 (patch) | |
tree | c3519829e3131749ba72f3a3a567b1cf4f4a307a /runtime | |
parent | 2e8cec5f2bf2dd1209052e870d9713a932dc7bfa (diff) | |
download | rneovim-68ca16c376bd8786ffc0c7ce7619b9a0ce5657e8.tar.gz rneovim-68ca16c376bd8786ffc0c7ce7619b9a0ce5657e8.tar.bz2 rneovim-68ca16c376bd8786ffc0c7ce7619b9a0ce5657e8.zip |
vim-patch:8.2.3783: confusing error for using a variable as a function
Problem: Confusing error for using a variable as a function.
Solution: If a function is not found but there is a variable, give a more
useful error. (issue vim/vim#9310)
https://github.com/vim/vim/commit/2ef9156b4284e4a52613c36e3d4667245273a28d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index ccb615602f..f80ca5346c 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1236,7 +1236,7 @@ Note that the dot is also used for String concatenation. To avoid confusion always put spaces around the dot for String concatenation. -expr8(expr1, ...) |Funcref| function call +expr8(expr1, ...) |Funcref| function call *E1085* When expr8 is a |Funcref| type variable, invoke the function it refers to. |