0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.3.359

Problem:    Command line completion shows dict functions.
Solution:   Skip dict functions for completion. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar 2011-11-30 14:57:31 +01:00
parent b491c03ee7
commit 195ea0ff6c
2 changed files with 6 additions and 1 deletions

View File

@ -875,7 +875,7 @@ eval_init()
#ifdef EBCDIC
/*
* Sort the function table, to enable binary sort.
* Sort the function table, to enable binary search.
*/
sortFunctions();
#endif
@ -21737,6 +21737,9 @@ get_user_func_name(xp, idx)
++hi;
fp = HI2UF(hi);
if (fp->uf_flags & FC_DICT)
return NULL; /* don't show dict functions */
if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
return fp->uf_name; /* prevents overflow */

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
359,
/**/
358,
/**/