mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
vim-patch:7.4.337
Problem: When there is an error preparing to edit the command line, the command won't be executed. (Hirohito Higashi) Solution: Reset did_emsg before editing. https://code.google.com/p/vim/source/detail?r=v7-4-337
This commit is contained in:
@@ -287,6 +287,14 @@ getcmdline (
|
|||||||
|
|
||||||
do_digraph(-1); /* init digraph typeahead */
|
do_digraph(-1); /* init digraph typeahead */
|
||||||
|
|
||||||
|
// If something above caused an error, reset the flags, we do want to type
|
||||||
|
// and execute commands. Display may be messed up a bit.
|
||||||
|
if (did_emsg) {
|
||||||
|
redrawcmd();
|
||||||
|
}
|
||||||
|
did_emsg = FALSE;
|
||||||
|
got_int = FALSE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Collect the command string, handling editing keys.
|
* Collect the command string, handling editing keys.
|
||||||
*/
|
*/
|
||||||
|
@@ -258,7 +258,7 @@ static int included_patches[] = {
|
|||||||
//340 NA
|
//340 NA
|
||||||
339,
|
339,
|
||||||
338,
|
338,
|
||||||
//337,
|
337,
|
||||||
//336,
|
//336,
|
||||||
335,
|
335,
|
||||||
334,
|
334,
|
||||||
|
Reference in New Issue
Block a user