1
0
forked from aniani/vim

updated for version 7.0155

This commit is contained in:
Bram Moolenaar
2005-10-10 20:59:28 +00:00
parent 196dfbcca1
commit d5cdbeb8dd
39 changed files with 25288 additions and 566 deletions

View File

@@ -3031,10 +3031,7 @@ ins_compl_get_exp(ini, dir)
#ifdef FEAT_COMPL_FUNC
case CTRL_X_FUNCTION:
case CTRL_X_OMNI:
if (*compl_pattern == NUL)
num_matches = 0;
else
num_matches = expand_by_function(type, compl_pattern, &matches);
num_matches = expand_by_function(type, compl_pattern, &matches);
if (num_matches > 0)
ins_compl_add_matches(num_matches, matches, dir);
break;