diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 10:51:27 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 15:04:41 +0800 |
commit | 335bef0c211dc962499814d248670ff17758a642 (patch) | |
tree | 808c44bc0f507ad155927b41596a0408d0559a8d /runtime | |
parent | 0167649ce4071e60d985b65f3f9408ffb21cb58c (diff) | |
download | rneovim-335bef0c211dc962499814d248670ff17758a642.tar.gz rneovim-335bef0c211dc962499814d248670ff17758a642.tar.bz2 rneovim-335bef0c211dc962499814d248670ff17758a642.zip |
vim-patch:9.0.0390: cannot use a partial with :defer
Problem: Cannot use a partial with :defer.
Solution: Add the partial arguments before the other arguments. Disallow
using a dictionary.
https://github.com/vim/vim/commit/86d87256c4005c6215da5af2597fbf6f6304421f
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/userfunc.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/userfunc.txt b/runtime/doc/userfunc.txt index 2c72f3d584..db0127df95 100644 --- a/runtime/doc/userfunc.txt +++ b/runtime/doc/userfunc.txt @@ -406,7 +406,8 @@ GetArg()->TheFunc()` does not work, it may work in a later version. Errors are reported but do not cause aborting execution of deferred functions. -No range is accepted. +No range is accepted. The function can be a partial with extra arguments, but +not with a dictionary. *E1300* ============================================================================== |