diff options
author | James McCoy <jamessan@jamessan.com> | 2016-11-15 13:41:01 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-12-28 14:57:38 -0500 |
commit | 4453aa0d29d7a4e488a4c1799c9d33bcbde432eb (patch) | |
tree | 51433dcc609844f2afef9277483afcae548fd781 /runtime/doc | |
parent | 6205846cd969bf6bafc933cb295c4cef819b9e84 (diff) | |
download | rneovim-4453aa0d29d7a4e488a4c1799c9d33bcbde432eb.tar.gz rneovim-4453aa0d29d7a4e488a4c1799c9d33bcbde432eb.tar.bz2 rneovim-4453aa0d29d7a4e488a4c1799c9d33bcbde432eb.zip |
vim-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)
https://github.com/vim/vim/commit/386600f0cbcb8add099c723cf84634f46df2f788
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 9e08c64de9..3bf13dfc34 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4166,14 +4166,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. |