runtime(doc): move help tag E1182

closes: #16279

Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
h-east
2024-12-23 10:11:25 +01:00
committed by Christian Brabandt
parent 4ce1cb5bf1
commit 08be9ddc85
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
*vim9.txt* For Vim version 9.1. Last change: 2024 May 31
*vim9.txt* For Vim version 9.1. Last change: 2024 Dec 23
VIM REFERENCE MANUAL by Bram Moolenaar
@ -193,7 +193,7 @@ created yet. In this case you can call `execute()` to invoke it at runtime. >
"closure". A `:def` function always aborts on an error (unless `:silent!` was
used for the command or the error was caught a `:try` block), does not get a
range passed, cannot be a "dict" function, and can always be a closure.
*vim9-no-dict-function*
*vim9-no-dict-function* *E1182*
You can use a Vim9 Class (|Vim9-class|) instead of a "dict function".
You can also pass the dictionary explicitly: >
def DictFunc(self: dict<any>, arg: string)