commit 2c3488c52e30d6ee009564f86103b84c085104f3
parent 1999c4cdc11c530be272d192c5b435a95cb6ba3b
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun, 27 Apr 2025 09:06:08 +0800
vim-patch:c5cb6b2: runtime(doc): tagfunc should refer to 'complete' option (#33658)
fixes: vim/vim#17205
https://github.com/vim/vim/commit/c5cb6b2ee4af5d8199123015e1519e3c8769a11f
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt
@@ -907,7 +907,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