diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-10-02 07:53:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-02 07:53:41 +0800 |
commit | dd1c613d0b47e818b7a6657f3c4bdeb959199628 (patch) | |
tree | 9fa048c20fb0f182c42c490f0dfa5c8e81ffc082 /runtime | |
parent | 01721aaa667f7fe32f5b9fbf7b6fd99cb775de48 (diff) | |
parent | cb310d2901a0eb63721ac5930daaadee91929208 (diff) | |
download | rneovim-dd1c613d0b47e818b7a6657f3c4bdeb959199628.tar.gz rneovim-dd1c613d0b47e818b7a6657f3c4bdeb959199628.tar.bz2 rneovim-dd1c613d0b47e818b7a6657f3c4bdeb959199628.zip |
Merge pull request #20429 from zeertzjq/vim-9.0.0620
vim-patch:9.0.{0620,0622}: matchaddpos() can only add up to 8 matches
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 4a889c67be..2f44a41699 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -5010,7 +5010,7 @@ matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]]) respectively. 3 is reserved for use by the |matchparen| plugin. If the {id} argument is not specified or -1, |matchadd()| - automatically chooses a free ID. + automatically chooses a free ID, which is at least 1000. The optional {dict} argument allows for further custom values. Currently this is used to specify a match specific @@ -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: > |