aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-01 18:32:08 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-10-02 07:28:38 +0800
commit85c7d4f7a92326dcd70317b048bafe96c8051701 (patch)
treefa1284ca2c4eccbaf495d8135c6bbd97f81cb646 /runtime
parent01721aaa667f7fe32f5b9fbf7b6fd99cb775de48 (diff)
downloadrneovim-85c7d4f7a92326dcd70317b048bafe96c8051701.tar.gz
rneovim-85c7d4f7a92326dcd70317b048bafe96c8051701.tar.bz2
rneovim-85c7d4f7a92326dcd70317b048bafe96c8051701.zip
vim-patch:9.0.0620: matchaddpos() can only add up to 8 matches
Problem: matchaddpos() can only add up to 8 matches. Solution: Allocate the array of positions. (closes vim/vim#11248) https://github.com/vim/vim/commit/50faf02f43d7f1a56ec2023028fca7c72dbce83e
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 4a889c67be..ba345bf03c 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -5068,8 +5068,6 @@ matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
ignored, as well as entries with negative column numbers and
lengths.
- The maximum number of positions in {pos} is 8.
-
Returns -1 on error.
Example: >