mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
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:
parent
53d15c2c25
commit
3654cce0bf
@ -541,7 +541,9 @@ static int pum_set_selected(int n, int repeat)
|
|||||||
if ((p_pvh > 0) && (p_pvh < g_do_tagpreview)) {
|
if ((p_pvh > 0) && (p_pvh < g_do_tagpreview)) {
|
||||||
g_do_tagpreview = p_pvh;
|
g_do_tagpreview = p_pvh;
|
||||||
}
|
}
|
||||||
|
RedrawingDisabled++;
|
||||||
resized = prepare_tagpreview(false);
|
resized = prepare_tagpreview(false);
|
||||||
|
RedrawingDisabled--;
|
||||||
g_do_tagpreview = 0;
|
g_do_tagpreview = 0;
|
||||||
|
|
||||||
if (curwin->w_p_pvw) {
|
if (curwin->w_p_pvw) {
|
||||||
|
@ -234,7 +234,7 @@ static int included_patches[] = {
|
|||||||
//364,
|
//364,
|
||||||
//363,
|
//363,
|
||||||
362,
|
362,
|
||||||
//361,
|
361,
|
||||||
//360,
|
//360,
|
||||||
//359,
|
//359,
|
||||||
358,
|
358,
|
||||||
|
Loading…
Reference in New Issue
Block a user