forked from aniani/vim
patch 8.1.1359: text property wrong after :substitute with backslash
Problem: Text property wrong after :substitute with backslash.
Solution: Adjust text property columns when removing backslashes.
(closes #4397)
This commit is contained in:
@@ -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, FALSE);
|
||||
adjust_prop_columns(lnum, col, added, 0);
|
||||
#endif
|
||||
|
||||
changed_bytes(lnum, col);
|
||||
|
||||
Reference in New Issue
Block a user