Mercurial > vim
changeset 929:2448f4c8afc6 v7.0.055
updated for version 7.0-055
author | vimboss |
---|---|
date | Wed, 16 Aug 2006 14:23:04 +0000 |
parents | 03c4ceec6bec |
children | 529c6a431ff5 |
files | src/edit.c src/ex_getln.c src/version.c |
diffstat | 3 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -882,6 +882,7 @@ edit(cmdchar, startln, count) /* Close the cmdline window. */ cmdwin_result = K_IGNORE; got_int = FALSE; /* don't stop executing autocommands et al. */ + nomove = TRUE; goto doESCkey; } #endif @@ -2414,6 +2415,7 @@ set_completion(startcol, list) compl_matches = ins_compl_make_cyclic(); compl_started = TRUE; compl_used_match = TRUE; + compl_cont_status = 0; compl_curr_match = compl_first_match; ins_complete(Ctrl_N);
--- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -5982,6 +5982,8 @@ ex_window() typestr[0] = cmdwin_type; typestr[1] = NUL; apply_autocmds(EVENT_CMDWINENTER, typestr, typestr, FALSE, curbuf); + if (restart_edit != 0) /* autocmd with ":startinsert" */ + stuffcharReadbuff(K_NOP); # endif i = RedrawingDisabled;