Mercurial > vim
changeset 947:a157c4786b79 v7.0.073
updated for version 7.0-073
author | vimboss |
---|---|
date | Tue, 29 Aug 2006 16:33:06 +0000 |
parents | 4fb859cd9ba9 |
children | c1b61096e3d0 |
files | src/edit.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -3097,6 +3097,10 @@ ins_compl_new_leader() /* Show the popup menu with a different set of matches. */ ins_compl_show_pum(); + + /* Don't let Enter select the original text when there is no popup menu. */ + if (compl_match_array == NULL) + compl_enter_selects = FALSE; } /*