diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-19 15:19:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-19 15:19:57 +0200 |
commit | 338dfdad3844ebb1ce1d56c421d1f698c086eb0c (patch) | |
tree | 92afa870c4fd44c0de47468149d64c42708c2aa8 /src/misc1.c | |
parent | dc6855af974f2ef553aceee619fadcb858e25d39 (diff) |
patch 8.1.1351: text property wrong after :substitutev8.1.1351
Problem: Text property wrong after :substitute.
Solution: Save for undo before changing any text properties.
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index f83e807954..1eac5189ae 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -441,7 +441,7 @@ set_indent( // the old indent, when decreasing indent it behaves like spaces // were deleted at the new indent. adjust_prop_columns(curwin->w_cursor.lnum, - (colnr_T)(added > 0 ? (p - oldline) : ind_len), added); + (colnr_T)(added > 0 ? (p - oldline) : ind_len), added, FALSE); } #endif retval = TRUE; |