runtime(doc): clarify the use of 'tagfunc', update a comment in tags.c

related: #17228

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-04-30 19:31:58 +02:00
parent fa8b7db99a
commit fb08192ca7
3 changed files with 16 additions and 13 deletions

View File

@ -8521,7 +8521,8 @@ A jump table for the options with a short description can be found at |Q_op|.
local to buffer
{not available when compiled without the |+eval|
feature}
This option specifies a function to be used to perform tag searches.
This option specifies a function to be used to perform tag searches
(including |taglist()|).
The function gets the tag pattern and should return a List of matching
tags. See |tag-function| for an explanation of how to write the
function and an example. The value can be the name of a function, a