Skip to content

Commit 46953c7

Browse files
committed
updated for version 7.4.383
Problem: Bad interaction between preview window and omnifunc. Solution: Avoid redrawing the status line. (Hirohito Higashi)
1 parent 9603bbe commit 46953c7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/popupmnu.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,12 @@ pum_set_selected(n, repeat)
643643

644644
if (curwin != curwin_save && win_valid(curwin_save))
645645
{
646+
/* When the first completion is done and the preview
647+
* window is not resized, skip the preview window's
648+
* status line redrawing. */
649+
if (ins_compl_active() && !resized)
650+
curwin->w_redr_status = FALSE;
651+
646652
/* Return cursor to where we were */
647653
validate_cursor();
648654
redraw_later(SOME_VALID);

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+
383,
737739
/**/
738740
382,
739741
/**/

0 commit comments

Comments
 (0)