mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.1258: CursorHold does not work well
Problem: CursorHold does not work well.a (Shane-XB-Qian) Solution: Only restore did_cursorhold when using :normal.
This commit is contained in:
@@ -1026,7 +1026,12 @@ getcount:
|
|||||||
out_flush();
|
out_flush();
|
||||||
#endif
|
#endif
|
||||||
if (ca.cmdchar != K_IGNORE)
|
if (ca.cmdchar != K_IGNORE)
|
||||||
did_cursorhold = save_did_cursorhold;
|
{
|
||||||
|
if (ex_normal_busy)
|
||||||
|
did_cursorhold = save_did_cursorhold;
|
||||||
|
else
|
||||||
|
did_cursorhold = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
State = NORMAL;
|
State = NORMAL;
|
||||||
|
|
||||||
|
@@ -754,6 +754,8 @@ 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 */
|
||||||
|
/**/
|
||||||
|
1258,
|
||||||
/**/
|
/**/
|
||||||
1257,
|
1257,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user