mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 06:16:08 +00:00
vim-patch:8.2.3712: cannot use Vim9 lambda for 'tagfunc'
Problem: Cannot use Vim9 lambda for 'tagfunc'.
Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes vim/vim#9250)
05e59e3a9f
Omit Vim9 script in code and comment out in tests.
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
@@ -2239,10 +2239,10 @@ static char_u *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".
|
||||
///
|
||||
/// @param type CTRL_X_OMNI or CTRL_X_FUNCTION
|
||||
/// @param type either CTRL_X_OMNI or CTRL_X_FUNCTION or CTRL_X_THESAURUS
|
||||
static void expand_by_function(int type, char_u *base)
|
||||
{
|
||||
list_T *matchlist = NULL;
|
||||
|
Reference in New Issue
Block a user