diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regexp.c | 2 | ||||
-rw-r--r-- | src/testdir/test79.in | bin | 2713 -> 2971 bytes | |||
-rw-r--r-- | src/testdir/test79.ok | bin | 421 -> 439 bytes | |||
-rw-r--r-- | src/version.c | 7 |
4 files changed, 9 insertions, 0 deletions
diff --git a/src/regexp.c b/src/regexp.c index d72c104c7d..e5f431d3bd 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -6513,6 +6513,7 @@ int vim_regsub(regmatch_T *rmp, char_u *source, char_u *dest, int copy, int magi reg_mmatch = NULL; reg_maxline = 0; reg_buf = curbuf; + reg_line_lbr = TRUE; return vim_regsub_both(source, dest, copy, magic, backslash); } @@ -6523,6 +6524,7 @@ int vim_regsub_multi(regmmatch_T *rmp, linenr_T lnum, char_u *source, char_u *de reg_buf = curbuf; /* always works on the current buffer! */ reg_firstlnum = lnum; reg_maxline = curbuf->b_ml.ml_line_count - lnum; + reg_line_lbr = FALSE; return vim_regsub_both(source, dest, copy, magic, backslash); } diff --git a/src/testdir/test79.in b/src/testdir/test79.in Binary files differindex f15ecc0f8d..c6108097d9 100644 --- a/src/testdir/test79.in +++ b/src/testdir/test79.in diff --git a/src/testdir/test79.ok b/src/testdir/test79.ok Binary files differindex bb30d14052..8d2ead67ed 100644 --- a/src/testdir/test79.ok +++ b/src/testdir/test79.ok diff --git a/src/version.c b/src/version.c index d7a8829106..b86f2de7a2 100644 --- a/src/version.c +++ b/src/version.c @@ -202,6 +202,13 @@ static char *(features[]) = { static int included_patches[] = { // Add new patch number below this line + //265, + //264, + //263, + //262, + 261, + //260, + //259, //258, //257, //256, |