runtime(doc): Highlight [expr] arg in :help :return description
Commit:
https://github.com/vim/vim/commit/9ad706735d35c23ecbfa8a306190882631a7e2b4
Author: Doug Kearns <[email protected]>
Date: Tue Oct 28 20:20:02 2025 +0000
runtime(doc): Highlight [expr] arg in :help :return description
closes: https://github.com/vim/vim/issues/18654
Signed-off-by: Doug Kearns <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/userfunc.txt b/runtime/doc/userfunc.txt
index 0f008446e..aa8ed9ec8 100644
--- a/runtime/doc/userfunc.txt
+++ b/runtime/doc/userfunc.txt
@@ -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
@@ -189,9 +189,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.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vDqKT-008NIp-Cc%40256bit.org.