0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -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

@@ -2333,6 +2333,15 @@ ambw_end:
}
#endif
#ifdef FEAT_EVAL
// 'tagfunc'
else if (gvarp == &p_tfu)
{
if (set_tagfunc_option() == FAIL)
errmsg = e_invarg;
}
#endif
// Options that are a list of flags.
else
{