summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-29 12:50:17 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-29 12:50:17 +0100
commit50faf02f43d7f1a56ec2023028fca7c72dbce83e (patch)
tree50ac366830d44eb27a8c7a183c6ae040f771468a /runtime
parent572a4433c8276d8e8f228a09f43b11afe0c85f6f (diff)
downloadvim-git-50faf02f43d7f1a56ec2023028fca7c72dbce83e.tar.gz
patch 9.0.0620: matchaddpos() can only add up to 8 matchesv9.0.0620
Problem: matchaddpos() can only add up to 8 matches. Solution: Allocate the array of positions. (closes #11248)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 80300113f..81758aff4 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -5918,8 +5918,6 @@ matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
- A list with three numbers, e.g., [23, 11, 3]. As above, but
the third number gives the length of the highlight in bytes.
- The maximum number of positions in {pos} is 8.
-
Returns -1 on error.
Example: >