aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt2
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua2
2 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index c09c0d552e..ceecc61b97 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -2674,6 +2674,8 @@ getmousepos() *getmousepos()*
wincol column inside "winid"
line text line inside "winid"
column text column inside "winid"
+ coladd offset (in screen columns) from the
+ start of the clicked char
All numbers are 1-based.
If not over a window, e.g. when in the command line, then only
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index a2d9ce5bc4..2b79feec8e 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -3242,6 +3242,8 @@ function vim.fn.getmatches(win) end
--- wincol column inside "winid"
--- line text line inside "winid"
--- column text column inside "winid"
+--- coladd offset (in screen columns) from the
+--- start of the clicked char
--- All numbers are 1-based.
---
--- If not over a window, e.g. when in the command line, then only