# HG changeset patch # User Bram Moolenaar # Date 1406142643 -7200 # Node ID 2f02675bc4b051fff7be63f5107f659045a010e1 # Parent 6baa86fc106022363ae7c56b4c33a3c4047fc6ec updated for version 7.4.383 Problem: Bad interaction between preview window and omnifunc. Solution: Avoid redrawing the status line. (Hirohito Higashi) diff --git a/src/popupmnu.c b/src/popupmnu.c --- a/src/popupmnu.c +++ b/src/popupmnu.c @@ -643,6 +643,12 @@ pum_set_selected(n, repeat) if (curwin != curwin_save && win_valid(curwin_save)) { + /* When the first completion is done and the preview + * window is not resized, skip the preview window's + * status line redrawing. */ + if (ins_compl_active() && !resized) + curwin->w_redr_status = FALSE; + /* Return cursor to where we were */ validate_cursor(); redraw_later(SOME_VALID); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 383, +/**/ 382, /**/ 381,