Skip to content

Commit 04f6f4b

Browse files
committed
updated for version 7.4.361
Problem: Lots of flickering when filling the preview window for 'omnifunc'. Solution: Disable redrawing. (Hirohito Higashi)
1 parent 42c75c6 commit 04f6f4b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/popupmnu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,9 @@ pum_set_selected(n, repeat)
567567
g_do_tagpreview = 3;
568568
if (p_pvh > 0 && p_pvh < g_do_tagpreview)
569569
g_do_tagpreview = p_pvh;
570+
++RedrawingDisabled;
570571
resized = prepare_tagpreview(FALSE);
572+
--RedrawingDisabled;
571573
g_do_tagpreview = 0;
572574

573575
if (curwin->w_p_pvw)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
361,
737739
/**/
738740
360,
739741
/**/

0 commit comments

Comments
 (0)