mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07: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;
|
||||
|
||||
int save_KeyTyped = KeyTyped;
|
||||
|
||||
/* Trigger CmdwinLeave autocommands. */
|
||||
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. */
|
||||
ccline = save_ccline;
|
||||
cmdwin_type = 0;
|
||||
|
@ -185,7 +185,7 @@ static char *(features[]) = {
|
||||
|
||||
static int included_patches[] = {
|
||||
// Add new patch number below this line
|
||||
//410,
|
||||
410,
|
||||
//409 NA
|
||||
//408,
|
||||
//407,
|
||||
|
Loading…
Reference in New Issue
Block a user