runtime(doc): fix return value in 'exists' and 'exists_compiled()'
Commit:
https://github.com/vim/vim/commit/911ecdcd0e80aa717b871ad94cc19f722014e44b
Author: Mao-Yining <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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()*
--
--
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/E1vRoqe-001Sat-12%40256bit.org.