mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
updated for version 7.4.383
Problem: Bad interaction between preview window and omnifunc. Solution: Avoid redrawing the status line. (Hirohito Higashi)
This commit is contained in:
parent
20c3892e54
commit
2bace3e2fb
@ -643,6 +643,12 @@ pum_set_selected(n, repeat)
|
|||||||
|
|
||||||
if (curwin != curwin_save && win_valid(curwin_save))
|
if (curwin != curwin_save && win_valid(curwin_save))
|
||||||
{
|
{
|
||||||
|
/* When the first completion is done and the preview
|
||||||
|
* window is not resized, skip the preview window's
|
||||||
|
* status line redrawing. */
|
||||||
|
if (ins_compl_active() && !resized)
|
||||||
|
curwin->w_redr_status = FALSE;
|
||||||
|
|
||||||
/* Return cursor to where we were */
|
/* Return cursor to where we were */
|
||||||
validate_cursor();
|
validate_cursor();
|
||||||
redraw_later(SOME_VALID);
|
redraw_later(SOME_VALID);
|
||||||
|
@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
383,
|
||||||
/**/
|
/**/
|
||||||
382,
|
382,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user