summaryrefslogtreecommitdiffstats
path: root/runtime/doc/pattern.txt
diff options
context:
space:
mode:
authorErnie Rael <errael@raelity.com>2023-10-23 19:08:38 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-23 19:13:16 +0200
commita5a1534753db361f6320e766014d42602c79537f (patch)
tree21eec56678c3eadf08c05f7bb0522cfaf1892cd8 /runtime/doc/pattern.txt
parentfea96c00e55a71e3007907ff4f7ad513bb9ff0eb (diff)
runtime(doc): small updates to the documentation for varargs
- update and correct the documentation for varargs for Vim9 and make sure to mention that a <list> type is required. - mention that 3match is used the matchparen plugin before 9.0.2054 (actually this is not correct, but before that patch, Vim used the hardcoded id 3) closes: #13403 closes: #13409 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
Diffstat (limited to 'runtime/doc/pattern.txt')
-rw-r--r--runtime/doc/pattern.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index 983d995356..70227a72e2 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -1,4 +1,4 @@
-*pattern.txt* For Vim version 9.0. Last change: 2023 Oct 20
+*pattern.txt* For Vim version 9.0. Last change: 2023 Oct 23
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1462,7 +1462,7 @@ Finally, these constructs are unique to Perl:
there can be three matches active at the same time. The match
with the lowest number has priority if several match at the
same position. It uses the match id 3.
- The ":3match" command is used by (older Vims) |matchparen|
+ The ":3match" command is used by (Vim < 9.0.2054) |matchparen|
plugin. You are suggested to use ":match" for manual matching
and ":2match" for another plugin or even better make use of
the more flexible |matchadd()| (and similar) functions instead.