aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt3
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua3
2 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 5b1dd2ca47..1a762c6ec0 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -2932,7 +2932,8 @@ getregion({pos1}, {pos2} [, {opts}]) *getregion()*
type Specify the region's selection type.
See |getregtype()| for possible values,
- except it cannot be an empty string.
+ except that the width can be omitted
+ and an empty string cannot be used.
(default: "v")
exclusive If |TRUE|, use exclusive selection
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index d1455fa993..f256f63768 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -3538,7 +3538,8 @@ function vim.fn.getreginfo(regname) end
---
--- type Specify the region's selection type.
--- See |getregtype()| for possible values,
---- except it cannot be an empty string.
+--- except that the width can be omitted
+--- and an empty string cannot be used.
--- (default: "v")
---
--- exclusive If |TRUE|, use exclusive selection