summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-15 22:16:25 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-15 22:16:25 +0200
commit386600f0cbcb8add099c723cf84634f46df2f788 (patch)
tree90910192a5b3d1e33fea1f6b47445f78f7affe94 /runtime
parent16350cb97914bc86320185a9910b23c2b297d273 (diff)
patch 7.4.2215v7.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)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 889afdb265..8b80e399d1 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4584,14 +4584,16 @@ getwininfo([{winid}]) *getwininfo()*
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.