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

@ -1835,7 +1835,8 @@ findtags_in_help_init(findtags_state_T *st)
* Use the function set in 'tagfunc' (if configured and enabled) to get the
* tags.
* Return OK if at least 1 tag has been successfully found, NOTDONE if the
* 'tagfunc' is not used or the 'tagfunc' returns v:null and FAIL otherwise.
* 'tagfunc' is not used, still executing or the 'tagfunc' returned v:null and
* FAIL otherwise.
*/
static int
findtags_apply_tfu(findtags_state_T *st, char_u *pat, char_u *buf_ffname)