Skip to content

Instantly share code, notes, and snippets.

@mattn
Created August 15, 2013 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattn/6240255 to your computer and use it in GitHub Desktop.
Save mattn/6240255 to your computer and use it in GitHub Desktop.
diff -r 8c8cdda36022 src/popupmnu.c
--- a/src/popupmnu.c Wed Aug 14 14:18:41 2013 +0200
+++ b/src/popupmnu.c Thu Aug 15 20:55:24 2013 +0900
@@ -653,18 +653,14 @@
/* Update the screen before drawing the popup menu.
* Enable updating the status lines. */
- pum_do_redraw = TRUE;
update_screen(0);
- pum_do_redraw = FALSE;
if (!resized && win_valid(curwin_save))
win_enter(curwin_save, TRUE);
/* May need to update the screen again when there are
* autocommands involved. */
- pum_do_redraw = TRUE;
update_screen(0);
- pum_do_redraw = FALSE;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment