0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

updated for version 7.4.383

Problem:    Bad interaction between preview window and omnifunc.
Solution:   Avoid redrawing the status line. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar 2014-07-23 21:10:43 +02:00
parent 20c3892e54
commit 2bace3e2fb
2 changed files with 8 additions and 0 deletions

View File

@ -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);

View File

@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
383,
/**/
382,
/**/