]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Highlight [expr] arg in :help :return description
authorDoug Kearns <dougkearns@gmail.com>
Tue, 28 Oct 2025 20:20:02 +0000 (20:20 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 28 Oct 2025 20:20:02 +0000 (20:20 +0000)
closes: #18654

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/userfunc.txt

index 0f008446ee7bb5cd4126405da9b150d98bd613c9..aa8ed9ec8c7a403d85cd77a373559a720bed060d 100644 (file)
@@ -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.