Commit: runtime(doc): fix return value in 'exists' and 'exists_compiled()'

0 views
Skip to first unread message

Christian Brabandt

unread,
Dec 6, 2025, 4:45:43 AM (yesterday) Dec 6
to vim...@googlegroups.com
runtime(doc): fix return value in 'exists' and 'exists_compiled()'

Commit: https://github.com/vim/vim/commit/911ecdcd0e80aa717b871ad94cc19f722014e44b
Author: Mao-Yining <mao.y...@outlook.com>
Date: Sat Dec 6 10:33:45 2025 +0100

runtime(doc): fix return value in 'exists' and 'exists_compiled()'

closes: https://github.com/vim/vim/issues/18867

Signed-off-by: Mao-Yining <mao.y...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index a6a7d8663..1190300cc 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()*
Reply all
Reply to author
Forward
0 new messages