From 335bef0c211dc962499814d248670ff17758a642 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 16 Apr 2023 10:51:27 +0800 Subject: 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 --- runtime/doc/userfunc.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime') 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* ============================================================================== -- cgit