0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.3665: cannot use a lambda for 'tagfunc'

Problem:    Cannot use a lambda for 'tagfunc'.
Solution:   Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
This commit is contained in:
Yegappan Lakshmanan
2021-11-24 16:32:55 +00:00
committed by Bram Moolenaar
parent e413ea04b7
commit 19916a8c89
9 changed files with 125 additions and 6 deletions

View File

@@ -2878,7 +2878,8 @@ struct file_buffer
char_u *b_p_ofu; // 'omnifunc'
#endif
#ifdef FEAT_EVAL
char_u *b_p_tfu; // 'tagfunc'
char_u *b_p_tfu; // 'tagfunc' option value
callback_T b_tfu_cb; // 'tagfunc' callback
#endif
int b_p_eol; // 'endofline'
int b_p_fixeol; // 'fixendofline'