From c5cb6b2ee4af5d8199123015e1519e3c8769a11f Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sat, 26 Apr 2025 20:06:41 +0200 Subject: [PATCH] runtime(doc): tagfunc should refer to 'complete' option fixes: #17205 Signed-off-by: Christian Brabandt --- runtime/doc/tagsrch.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt index 858309a28a..132414368a 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