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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user