aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-21 14:25:45 +0800
committerGitHub <noreply@github.com>2023-11-21 14:25:45 +0800
commitfec5e3ab247bcc1ced67f1d0aa7fa10f694f933b (patch)
treea869106aa7bd8fd6fae1d0315e9a1e46bfae10d8 /runtime/doc
parent488038580934f301c1528a14548ec0cabd16c2cd (diff)
downloadrneovim-fec5e3ab247bcc1ced67f1d0aa7fa10f694f933b.tar.gz
rneovim-fec5e3ab247bcc1ced67f1d0aa7fa10f694f933b.tar.bz2
rneovim-fec5e3ab247bcc1ced67f1d0aa7fa10f694f933b.zip
fix(vim.region): handle multibyte inclusive selection properly (#26129)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lua.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 596b58d4ff..b155e646ab 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -1728,7 +1728,7 @@ vim.region({bufnr}, {pos1}, {pos2}, {regtype}, {inclusive})
• {pos2} integer[]|string End of region as a (line, column) tuple
or |getpos()|-compatible string
• {regtype} (string) |setreg()|-style selection type
- • {inclusive} (boolean) Controls whether `pos2` column is inclusive
+ • {inclusive} (boolean) Controls whether the ending column is inclusive
(see also 'selection').
Return: ~