summaryrefslogtreecommitdiff
path: root/src/textprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textprop.c b/src/textprop.c
index f33edc211..7d594da16 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -310,6 +310,7 @@ prop_add_one(
buf->b_ml.ml_flags |= ML_LINE_DIRTY;
}
+ changed_line_display_buf(buf);
changed_lines_buf(buf, start_lnum, end_lnum + 1, 0);
res = OK;
@@ -1507,6 +1508,7 @@ f_prop_remove(typval_T *argvars, typval_T *rettv)
if (first_changed > 0)
{
+ changed_line_display_buf(buf);
changed_lines_buf(buf, first_changed, last_changed + 1, 0);
redraw_buf_later(buf, VALID);
}