summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-14 21:41:44 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-14 21:41:44 +0200
commitb6959a8e06cef6d2126b030b2f8acd49457a3582 (patch)
tree926ea04a18d8c1980b5f26f9393a7e91cf883b2b /runtime
parent174136713181a1d1460951d7a0392b16603f81bb (diff)
downloadvim-git-b6959a8e06cef6d2126b030b2f8acd49457a3582.tar.gz
patch 8.1.0184: not easy to figure out the window layoutv8.1.0184
Problem: Not easy to figure out the window layout. Solution: Add "wincol" and "winrow" to what getwininfo() returns.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index bd538d523..9394ece21 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4994,8 +4994,10 @@ getwininfo([{winid}]) *getwininfo()*
variables a reference to the dictionary with
window-local variables
width window width
+ wincol leftmost screen column of the window
winid |window-ID|
winnr window number
+ winrow topmost screen column of the window
To obtain all window-local variables use: >
gettabwinvar({tabnr}, {winnr}, '&')