mirror of
https://github.com/neovim/neovim.git
synced 2026-01-14 08:17:20 +10:00
vim-patch:9ad7067: runtime(doc): Highlight [expr] arg in :help :return description
closes: vim/vim#18654
9ad706735d
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
@@ -179,9 +179,9 @@ See |:verbose-cmd| for more information.
|
||||
With the ! there is no error if the function does not
|
||||
exist.
|
||||
*: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.
|
||||
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",
|
||||
the number 0 is returned.
|
||||
Note that there is no check for unreachable lines,
|
||||
|
||||
Reference in New Issue
Block a user