aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-15 20:33:00 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-15 20:37:53 -0400
commit2036d0428472b2453cc459a9ab27d39ac0063d2a (patch)
treea55d86ccccffb29fb57f970ea506083b89273c86 /runtime
parentb89c08901c1e619b9aeca6f109f6ba73a7be4e9f (diff)
downloadrneovim-2036d0428472b2453cc459a9ab27d39ac0063d2a.tar.gz
rneovim-2036d0428472b2453cc459a9ab27d39ac0063d2a.tar.bz2
rneovim-2036d0428472b2453cc459a9ab27d39ac0063d2a.zip
vim-patch:8.1.0184: not easy to figure out the window layout
Problem: Not easy to figure out the window layout. Solution: Add "wincol" and "winrow" to what getwininfo() returns. https://github.com/vim/vim/commit/b6959a8e06cef6d2126b030b2f8acd49457a3582
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 45faf8cdfe..493345edee 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4472,8 +4472,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}, '&')