mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.410
Problem: Fold does not open after search when there is a CmdwinLeave autocommand. Solution: Restore KeyTyped. (Jacob Niehus) https://code.google.com/p/vim/source/detail?r=v7-4-410
This commit is contained in:
parent
53d15c2c25
commit
102af4f823
@ -5200,9 +5200,14 @@ static int ex_window(void)
|
|||||||
|
|
||||||
RedrawingDisabled = i;
|
RedrawingDisabled = i;
|
||||||
|
|
||||||
|
int save_KeyTyped = KeyTyped;
|
||||||
|
|
||||||
/* Trigger CmdwinLeave autocommands. */
|
/* Trigger CmdwinLeave autocommands. */
|
||||||
apply_autocmds(EVENT_CMDWINLEAVE, typestr, typestr, FALSE, curbuf);
|
apply_autocmds(EVENT_CMDWINLEAVE, typestr, typestr, FALSE, curbuf);
|
||||||
|
|
||||||
|
/* Restore KeyTyped in case it is modified by autocommands */
|
||||||
|
KeyTyped = save_KeyTyped;
|
||||||
|
|
||||||
/* Restore the command line info. */
|
/* Restore the command line info. */
|
||||||
ccline = save_ccline;
|
ccline = save_ccline;
|
||||||
cmdwin_type = 0;
|
cmdwin_type = 0;
|
||||||
|
@ -185,7 +185,7 @@ static char *(features[]) = {
|
|||||||
|
|
||||||
static int included_patches[] = {
|
static int included_patches[] = {
|
||||||
// Add new patch number below this line
|
// Add new patch number below this line
|
||||||
//410,
|
410,
|
||||||
//409 NA
|
//409 NA
|
||||||
//408,
|
//408,
|
||||||
//407,
|
//407,
|
||||||
|
Loading…
Reference in New Issue
Block a user