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/change.c | |
parent | dc6855af974f2ef553aceee619fadcb858e25d39 (diff) | |
download | vim-git-338dfdad3844ebb1ce1d56c421d1f698c086eb0c.tar.gz |
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/change.c')
-rw-r--r-- | src/change.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/change.c b/src/change.c index 33db0c1b8..fa8c42538 100644 --- a/src/change.c +++ b/src/change.c @@ -684,7 +684,7 @@ inserted_bytes(linenr_T lnum, colnr_T col, int added UNUSED) { #ifdef FEAT_TEXT_PROP if (curbuf->b_has_textprop && added != 0) - adjust_prop_columns(lnum, col, added); + adjust_prop_columns(lnum, col, added, FALSE); #endif changed_bytes(lnum, col); |