diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-12-03 11:09:29 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-03 11:09:29 +0000 |
commit | 8658c759f05b317707d56e3b65a5ef63930c7498 (patch) | |
tree | 124fcda187b5515dfaeba4c86aa7a5e0f0888686 /src/tag.c | |
parent | 021ef351c2127cf8aa5668a881435a0a12774644 (diff) |
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'v8.2.3725
Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -115,7 +115,7 @@ static callback_T tfu_cb; // 'tagfunc' callback function * a function (string), or function(<name>) or funcref(<name>) or a lambda. */ int -set_tagfunc_option() +set_tagfunc_option(void) { #ifdef FEAT_EVAL free_callback(&tfu_cb); @@ -148,7 +148,7 @@ free_tagfunc_option(void) * callback for 'buf'. */ void -buf_set_tfu_callback(buf_T *buf UNUSED) +set_buflocal_tfu_callback(buf_T *buf UNUSED) { #ifdef FEAT_EVAL free_callback(&buf->b_tfu_cb); |