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

related: vim/vim#17228

fb08192ca7

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-05-01 07:43:24 +08:00
parent ad48cccaa8
commit b38525f65c
5 changed files with 19 additions and 14 deletions

View File

@@ -9182,7 +9182,8 @@ local options = {
cb = 'did_set_tagfunc',
defaults = '',
desc = [=[
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