patch 7.4.2215
Problem: It's not easy to find out if a window is a quickfix or location
list window.
Solution: Add "loclist" and "quickfix" entries to the dict returnec by
getwininfo(). (Yegappan Lakshmanan)
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 889afdb..8b80e39 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4584,14 +4584,16 @@
pages is returned.
Each List item is a Dictionary with the following entries:
- nr window number.
- tpnr tab page number.
- winid window ID.
- height window height.
- width window width.
- bufnum number of buffer in the window.
- options dictionary of window local options.
- variables dictionary of window local variables.
+ bufnum number of buffer in the window
+ height window height
+ loclist 1 if showing a location list
+ nr window number
+ options dictionary of window local options
+ quickfix 1 if quickfix or location list window
+ tpnr tab page number
+ variables dictionary of window local variables
+ width window width
+ winid window ID
getwinvar({winnr}, {varname} [, {def}]) *getwinvar()*
Like |gettabwinvar()| for the current tabpage.