]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): update win_findbuf() return value
authorMao-Yining <101858210+mao-yining@users.noreply.github.com>
Mon, 2 Feb 2026 10:15:04 +0000 (10:15 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 2 Feb 2026 10:15:04 +0000 (10:15 +0000)
[] can also seen as `list<number>`

closes: #19311

Signed-off-by: Mao-Yining <101858210+mao-yining@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt

index 57f46c3d7631cfb12dd8d3b33d338edbabfb0039..2b2dc92c31a52e2643e33a7340531376a2c8bc4a 100644 (file)
@@ -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.