aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-11-22 10:10:03 +0800
committerGitHub <noreply@github.com>2021-11-21 21:10:03 -0500
commite05db65d2ae3bb3c57e009e67ffc85794835a4e2 (patch)
tree133ed18aea564a488e6d6f96e5d2974e8d0caa06 /runtime
parentf45b2f313e681a0ceed1e1ac6aff54ce07716544 (diff)
downloadrneovim-e05db65d2ae3bb3c57e009e67ffc85794835a4e2.tar.gz
rneovim-e05db65d2ae3bb3c57e009e67ffc85794835a4e2.tar.bz2
rneovim-e05db65d2ae3bb3c57e009e67ffc85794835a4e2.zip
vim-patch:8.2.3627: difficult to know where the text starts in a window (#16377)
vim-patch:8.2.3627: difficult to know where the text starts in a window Problem: difficult to know where the text starts in a window. (Sergey Vlasov) Solution: Add the "textoff" entry in the result of getwininfo(). (closes vim/vim#9163) https://github.com/vim/vim/commit/cdf5fdb2948ecdd24c6a1e27ed33dfa847c2b3e4 Fix indent in Test_getbufwintabinfo().
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index da39a56164..58d5d30146 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -5562,6 +5562,9 @@ getwininfo([{winid}]) *getwininfo()*
otherwise
wincol leftmost screen column of the window;
"col" from |win_screenpos()|
+ textoff number of columns occupied by any
+ 'foldcolumn', 'signcolumn' and line
+ number in front of the text
winid |window-ID|
winnr window number
winrow topmost screen line of the window;