diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 4 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index e0921cf477..2c1c6675c1 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -2985,8 +2985,8 @@ getregionpos({pos1}, {pos2} [, {opts}]) *getregionpos()* the offset in screen columns from the start of the character. E.g., a position within a <Tab> or after the last character. If the "off" number of an ending position is non-zero, it is - the character's number of cells included in the selection, - otherwise the whole character is included. + the offset of the character's first cell not included in the + selection, otherwise all its cells are included. getregtype([{regname}]) *getregtype()* The result is a String, which is type of register {regname}. diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index dee65a40c7..e00b2e6acd 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -3596,8 +3596,8 @@ function vim.fn.getregion(pos1, pos2, opts) end --- the offset in screen columns from the start of the character. --- E.g., a position within a <Tab> or after the last character. --- If the "off" number of an ending position is non-zero, it is ---- the character's number of cells included in the selection, ---- otherwise the whole character is included. +--- the offset of the character's first cell not included in the +--- selection, otherwise all its cells are included. --- --- @param pos1 table --- @param pos2 table |