From fec5e3ab247bcc1ced67f1d0aa7fa10f694f933b Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 21 Nov 2023 14:25:45 +0800 Subject: fix(vim.region): handle multibyte inclusive selection properly (#26129) --- runtime/doc/lua.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/doc') 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: ~ -- cgit