mirror of
https://github.com/vim/vim.git
synced 2025-11-13 22:54:27 -05:00
runtime(doc): Highlight [expr] arg in :help :return description
closes: #18654 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
f09ff72d48
commit
9ad706735d
@@ -1,4 +1,4 @@
|
|||||||
*userfunc.txt* For Vim version 9.1. Last change: 2025 Oct 27
|
*userfunc.txt* For Vim version 9.1. Last change: 2025 Oct 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -189,9 +189,9 @@ See |:verbose-cmd| for more information.
|
|||||||
With the ! there is no error if the function does not
|
With the ! there is no error if the function does not
|
||||||
exist.
|
exist.
|
||||||
*:retu* *:return* *E133*
|
*:retu* *:return* *E133*
|
||||||
:retu[rn] [expr] Return from a function. When "[expr]" is given, it is
|
:retu[rn] [expr] Return from a function. When [expr] is given, it is
|
||||||
evaluated and returned as the result of the function.
|
evaluated and returned as the result of the function.
|
||||||
If "[expr]" is not given, the number 0 is returned.
|
If [expr] is not given, the number 0 is returned.
|
||||||
When a function ends without an explicit ":return",
|
When a function ends without an explicit ":return",
|
||||||
the number 0 is returned.
|
the number 0 is returned.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user