From 9ad706735d35c23ecbfa8a306190882631a7e2b4 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 28 Oct 2025 20:20:02 +0000 Subject: [PATCH] runtime(doc): Highlight [expr] arg in :help :return description closes: #18654 Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- runtime/doc/userfunc.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/doc/userfunc.txt b/runtime/doc/userfunc.txt index 0f008446ee..aa8ed9ec8c 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. -- 2.47.3