runtime(doc): tagfunc should refer to 'complete' option
fixes: #17205
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt
index 858309a..1324143 100644
--- a/runtime/doc/tagsrch.txt
+++ b/runtime/doc/tagsrch.txt
@@ -1,4 +1,4 @@
-*tagsrch.txt* For Vim version 9.1. Last change: 2024 Aug 01
+*tagsrch.txt* For Vim version 9.1. Last change: 2025 Apr 26
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -914,7 +914,7 @@
(mnemonic: the tag function may use the context around the
cursor to perform a better job of generating the tag list.)
'i' In Insert mode, the user was completing a tag (with
- |i_CTRL-X_CTRL-]| or 'completeopt' contains `t`).
+ |i_CTRL-X_CTRL-]| or 'complete' contains "`t`" or "`]`").
'r' The first argument to tagfunc should be interpreted as a
|pattern| (see |tag-regexp|), such as when using: >
:tag /pat