1
0
forked from aniani/vim

patch 8.1.1640: the CursorHold autocommand takes down a balloon

Problem:    The CursorHold autocommand takes down a balloon. (Paul Jolly)
Solution:   Ignore the CursorHold pseudo-key.
This commit is contained in:
Bram Moolenaar
2019-07-05 23:24:56 +02:00
parent 28fc247f8d
commit c2f5054be9
5 changed files with 31 additions and 7 deletions

View File

@@ -1794,7 +1794,7 @@ vgetc(void)
may_garbage_collect = FALSE;
#endif
#ifdef FEAT_BEVAL_TERM
if (c != K_MOUSEMOVE && c != K_IGNORE)
if (c != K_MOUSEMOVE && c != K_IGNORE && c != K_CURSORHOLD)
{
/* Don't trigger 'balloonexpr' unless only the mouse was moved. */
bevalexpr_due_set = FALSE;