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:
parent
b491c03ee7
commit
195ea0ff6c
@ -875,7 +875,7 @@ eval_init()
|
|||||||
|
|
||||||
#ifdef EBCDIC
|
#ifdef EBCDIC
|
||||||
/*
|
/*
|
||||||
* Sort the function table, to enable binary sort.
|
* Sort the function table, to enable binary search.
|
||||||
*/
|
*/
|
||||||
sortFunctions();
|
sortFunctions();
|
||||||
#endif
|
#endif
|
||||||
@ -21737,6 +21737,9 @@ get_user_func_name(xp, idx)
|
|||||||
++hi;
|
++hi;
|
||||||
fp = HI2UF(hi);
|
fp = HI2UF(hi);
|
||||||
|
|
||||||
|
if (fp->uf_flags & FC_DICT)
|
||||||
|
return NULL; /* 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 */
|
||||||
|
/**/
|
||||||
|
359,
|
||||||
/**/
|
/**/
|
||||||
358,
|
358,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user