From 338dfdad3844ebb1ce1d56c421d1f698c086eb0c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 19 May 2019 15:19:57 +0200 Subject: patch 8.1.1351: text property wrong after :substitute Problem: Text property wrong after :substitute. Solution: Save for undo before changing any text properties. --- src/ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ops.c') diff --git a/src/ops.c b/src/ops.c index 480516b30..975a56f37 100644 --- a/src/ops.c +++ b/src/ops.c @@ -1937,7 +1937,7 @@ op_delete(oparg_T *oap) #ifdef FEAT_TEXT_PROP if (curbuf->b_has_textprop && n != 0) - adjust_prop_columns(lnum, bd.textcol, -n); + adjust_prop_columns(lnum, bd.textcol, -n, FALSE); #endif } -- cgit v1.2.1