diff options
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index fbcdd52116..dee65a40c7 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -3592,10 +3592,12 @@ function vim.fn.getregion(pos1, pos2, opts) end --- "bufnum" is the buffer number. --- "lnum" and "col" are the position in the buffer. The first --- column is 1. ---- The "off" number is zero, unless 'virtualedit' is used. Then ---- it is 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 a starting position is non-zero, it is +--- 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. --- --- @param pos1 table --- @param pos2 table |