vim-patch:7.4.361

Problem:    Lots of flickering when filling the preview window for 'omnifunc'.
Solution:   Disable redrawing. (Hirohito Higashi)

https://code.google.com/p/vim/source/detail?r=v7-4-361
This commit is contained in:
Shougo Matsushita
2014-09-18 07:45:50 +09:00
parent 53d15c2c25
commit 3654cce0bf
2 changed files with 3 additions and 1 deletions

View File

@@ -541,7 +541,9 @@ static int pum_set_selected(int n, int repeat)
if ((p_pvh > 0) && (p_pvh < g_do_tagpreview)) {
g_do_tagpreview = p_pvh;
}
RedrawingDisabled++;
resized = prepare_tagpreview(false);
RedrawingDisabled--;
g_do_tagpreview = 0;
if (curwin->w_p_pvw) {