Mercurial > vim
diff src/eval.c @ 3294:e7e4dbac7ded v7.3.415
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 26 Jan 2012 14:32:30 +0100 |
parents | aaee60933022 |
children | 22a626604672 |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -21802,7 +21802,7 @@ get_user_func_name(xp, idx) fp = HI2UF(hi); 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) return fp->uf_name; /* prevents overflow */