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:
committed by
Bram Moolenaar
parent
e413ea04b7
commit
19916a8c89
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user