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)
diff --git a/src/option.c b/src/option.c
index b807b9b..4422634 100644
--- a/src/option.c
+++ b/src/option.c
@@ -810,6 +810,7 @@
clear_string_option((char_u **)options[i].var);
}
free_operatorfunc_option();
+ free_tagfunc_option();
}
#endif
@@ -5956,6 +5957,7 @@
#ifdef FEAT_EVAL
buf->b_p_tfu = vim_strsave(p_tfu);
COPY_OPT_SCTX(buf, BV_TFU);
+ buf_set_tfu_callback(buf);
#endif
buf->b_p_sts = p_sts;
COPY_OPT_SCTX(buf, BV_STS);