runtime(doc): tagfunc should refer to 'complete' option
Commit:
https://github.com/vim/vim/commit/c5cb6b2ee4af5d8199123015e1519e3c8769a11f
Author: Christian Brabandt <
c...@256bit.org>
Date: Sat Apr 26 20:06:41 2025 +0200
runtime(doc): tagfunc should refer to 'complete' option
fixes:
https://github.com/vim/vim/issues/17205
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt
index 858309a28..132414368 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 @@ Currently up to three flags may be passed to the tag function:
(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