mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.3.415
Problem: Completion of functions stops once a dictionary is encountered. (James McCoy) Solution: Return an empty string instead of NULL.
This commit is contained in:
@@ -21802,7 +21802,7 @@ get_user_func_name(xp, idx)
|
|||||||
fp = HI2UF(hi);
|
fp = HI2UF(hi);
|
||||||
|
|
||||||
if (fp->uf_flags & FC_DICT)
|
if (fp->uf_flags & FC_DICT)
|
||||||
return NULL; /* don't show dict functions */
|
return ""; /* don't show dict functions */
|
||||||
|
|
||||||
if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
|
if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
|
||||||
return fp->uf_name; /* prevents overflow */
|
return fp->uf_name; /* prevents overflow */
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
415,
|
||||||
/**/
|
/**/
|
||||||
414,
|
414,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user