From: Mao-Yining Date: Sat, 6 Dec 2025 09:33:45 +0000 (+0100) Subject: runtime(doc): fix return value in 'exists' and 'exists_compiled()' X-Git-Tag: v9.1.1957~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=911ecdcd0e80aa717b871ad94cc19f722014e44b;p=thirdparty%2Fvim.git runtime(doc): fix return value in 'exists' and 'exists_compiled()' closes: #18867 Signed-off-by: Mao-Yining Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index a6a7d86630..1190300cc5 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 9.1. Last change: 2025 Dec 02 +*builtin.txt* For Vim version 9.1. Last change: 2025 Dec 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2891,7 +2891,7 @@ exists({expr}) *exists()* Can also be used as a |method|: > Varname()->exists() < - Return type: |String| + Return type: |Number| exists_compiled({expr}) *exists_compiled()* @@ -2908,7 +2908,7 @@ exists_compiled({expr}) *exists_compiled()* Can only be used in a |:def| function. *E1233* This does not work to check for arguments or local variables. - Return type: |String| + Return type: |Number| exp({expr}) *exp()*