# HG changeset patch # User vimboss # Date 1173991106 0 # Node ID f9366d458bd09b73aa46cb202c7c6329e608bf0e # Parent 9a3b65713280ebf8750989758b4b2d42f757ca9b updated for version 7.0-217 diff --git a/src/ex_cmds.c b/src/ex_cmds.c --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4677,11 +4677,12 @@ do_sub(eap) /* For a multi-line match, put matchcol at the NUL at * the end of the line and set nmatch to one, so that * we continue looking for a match on the next line. - * Avoids that ":s/\nB\@=//gc" get stuck. */ + * Avoids that ":%s/\nB\@=//gc" and ":%s/\n/,\r/gc" + * get stuck when pressing 'n'. */ if (nmatch > 1) { matchcol = (colnr_T)STRLEN(sub_firstline); - nmatch = 1; + skip_match = TRUE; } goto skip; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 217, +/**/ 216, /**/ 215,