From 2bace3e2fb9dd138bd267bbf648e4473dba6eb2c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 23 Jul 2014 21:10:43 +0200 Subject: updated for version 7.4.383 Problem: Bad interaction between preview window and omnifunc. Solution: Avoid redrawing the status line. (Hirohito Higashi) --- src/popupmnu.c | 6 ++++++ src/version.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/popupmnu.c b/src/popupmnu.c index b970158b2..68ee2d562 100644 --- 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 index c07107337..663bdfd12 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 383, /**/ 382, /**/ -- cgit v1.2.1