runtime(doc): update win_findbuf() return value
Commit:
https://github.com/vim/vim/commit/f39e7a89f32973040782f495cd0d60f1595b4a1b
Author: Mao-Yining <[email protected]>
Date: Mon Feb 2 10:15:04 2026 +0000
runtime(doc): update win_findbuf() return value
[] can also seen as `list<number>`
closes: #19311
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 57f46c3d7..2b2dc92c3 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -1,4 +1,4 @@
-*builtin.txt* For Vim version 9.1. Last change: 2026 Jan 31
+*builtin.txt* For Vim version 9.1. Last change: 2026 Feb 2
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -12612,8 +12612,7 @@ win_findbuf({bufnr})
*win_findbuf()*
Can also be used as a |method|: >
GetBufnr()->win_findbuf()
<
- Return type: list<number> or list<any>
-
+ Return type: list<number>
win_getid([{win} [, {tab}]]) *win_getid()*
Get the |window-ID| for the specified window.
--
--
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/E1vmqxa-008reB-Ch%40256bit.org.