diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-07-09 19:58:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-07-09 19:58:24 +0200 |
commit | c80451500322cc4b05899957084afa75f52e719e (patch) | |
tree | 4c9c5d9aaed9bfb5955b22a0c2dfb287e852d0e0 /src/popupmnu.c | |
parent | ff65ac84fd54549086098896678211455f767f02 (diff) | |
download | vim-git-c80451500322cc4b05899957084afa75f52e719e.tar.gz |
updated for version 7.4.361v7.4.361
Problem: Lots of flickering when filling the preview window for 'omnifunc'.
Solution: Disable redrawing. (Hirohito Higashi)
Diffstat (limited to 'src/popupmnu.c')
-rw-r--r-- | src/popupmnu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/popupmnu.c b/src/popupmnu.c index 8ff0711cc..b970158b2 100644 --- a/src/popupmnu.c +++ b/src/popupmnu.c @@ -567,7 +567,9 @@ pum_set_selected(n, repeat) g_do_tagpreview = 3; 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) |