runtime(doc): update getwininfo() documentation about popups
Commit:
https://github.com/vim/vim/commit/4aa4a569096ade5f442b2ea91e74661957146133
Author: Christian Brabandt <[email protected]>
Date: Fri Sep 26 12:57:05 2025 -0400
runtime(doc): update getwininfo() documentation about popups
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 75ca65ba1..90aefbf33 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -5338,14 +5338,17 @@ gettext({text} [, {package}])
*gettext()*
getwininfo([{winid}]) *getwininfo()*
- Returns information about windows as a |List| with Dictionaries.
+ Returns information about windows as a |List| with
+ Dictionaries.
- If {winid} is given Information about the window with that ID
- is returned, as a |List| with one item. If the window does not
- exist the result is an empty list.
+ If {winid} is given, information about the window with that ID
+ is returned, as a |List| with one item. When that window is a
+ |popup| window, information about that popup window is
+ returned. If the window does not exist the result is an empty
+ list.
Without {winid} information about all the windows in all the
- tab pages is returned.
+ tab pages (excluding |popup|s) is returned.
Each List item is a |Dictionary| with the following entries:
botline last complete displayed buffer line
--
--
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/E1v2Bnf-00D72E-UM%40256bit.org.