Mercurial > vim
diff src/edit.c @ 947:a157c4786b79 v7.0.073
updated for version 7.0-073
author | vimboss |
---|---|
date | Tue, 29 Aug 2006 16:33:06 +0000 |
parents | b2dcb8457067 |
children | 0e3e208b4b90 |
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; } /*