forked from aniani/vim
patch 8.2.2637: prop_remove() causes a redraw even when nothing changed
Problem: prop_remove() causes a redraw even when nothing changed. Solution: Only redraw if a property was removed.
This commit is contained in:
@@ -920,7 +920,8 @@ f_prop_remove(typval_T *argvars, typval_T *rettv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
redraw_buf_later(buf, NOT_VALID);
|
if (rettv->vval.v_number > 0)
|
||||||
|
redraw_buf_later(buf, NOT_VALID);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
2637,
|
||||||
/**/
|
/**/
|
||||||
2636,
|
2636,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user