From 2c01e79dc47ff83e0af118fb3fee50fa2ff7fcf2 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sun, 20 Jan 2019 12:14:35 +0100 Subject: Reduce pum redraws from edit.c by delaying undisplay of pum This makes it possible for the compositor to compare the old pum with the new position, and only clear what is necessary. --- src/nvim/screen.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/nvim/screen.c') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 309a8d5439..b50333e7fa 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -7203,7 +7203,6 @@ void screen_resize(int width, int height) } else { update_topline(); if (pum_drawn()) { - redraw_later(NOT_VALID); ins_compl_show_pum(); } update_screen(NOT_VALID); -- cgit