mirror of
https://github.com/neovim/neovim.git
synced 2026-02-21 09:50:19 +10:00
vim-patch:fe8c8b1: runtime(doc): fix outdated :function help
Since patch 7.4.264 a leading "g:" is skipped. closes: vim/vim#18976fe8c8b1e85(cherry picked from commit03aef8fd2a)
This commit is contained in:
committed by
github-actions[bot]
parent
275c769f01
commit
a93b5a7104
@@ -73,11 +73,11 @@ See |:verbose-cmd| for more information.
|
||||
matching |:endfunction|.
|
||||
|
||||
The name must be made of alphanumeric characters and
|
||||
'_', and must start with a capital or "s:" (see
|
||||
above). Note that using "b:" or "g:" is not allowed.
|
||||
(since patch 7.4.260 E884 is given if the function
|
||||
name has a colon in the name, e.g. for "foo:bar()".
|
||||
Before that patch no error was given).
|
||||
'_' and must start with a capital or "s:" (see above).
|
||||
Note that using "b:", "l:", etc. is not allowed (since
|
||||
patch 7.4.260 E884 is given if the function name has a
|
||||
colon, e.g. for "foo:bar()"), while a leading "g:" is
|
||||
skipped and still requires a following capital letter.
|
||||
|
||||
{name} may be a |Dictionary| |Funcref| entry: >
|
||||
:function dict.init(arg)
|
||||
|
||||
Reference in New Issue
Block a user