diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-12-01 10:30:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-01 10:30:07 +0000 |
commit | 05e59e3a9ffddbf93c7af02cd2ba1d0f822d4625 (patch) | |
tree | b178bddbd7f7ea74e4dee6dbf762f79ff6e6aaa6 /src/insexpand.c | |
parent | 56a8ffdb6e903615ed824a503f5fa6382b5b3df5 (diff) | |
download | vim-git-05e59e3a9ffddbf93c7af02cd2ba1d0f822d4625.tar.gz |
patch 8.2.3712: cannot use Vim9 lambda for 'tagfunc'v8.2.3712
Problem: Cannot use Vim9 lambda for 'tagfunc'.
Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index e9b48616d..630548bec 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -2257,13 +2257,12 @@ get_complete_funcname(int type) } /* - * Execute user defined complete function 'completefunc' or 'omnifunc', and - * get matches in "matches". + * Execute user defined complete function 'completefunc', 'omnifunc' or + * 'thesaurusfunc', and get matches in "matches". + * "type" is either CTRL_X_OMNI or CTRL_X_FUNCTION or CTRL_X_THESAURUS. */ static void -expand_by_function( - int type, // CTRL_X_OMNI or CTRL_X_FUNCTION - char_u *base) +expand_by_function(int type, char_u *base) { list_T *matchlist = NULL; dict_T *matchdict = NULL; |