Problem: Substitute with confirmation and then "q" does not replace
anything. (John McGowan)
Solution: Do not break the loop, skip to the end.
goto skip;
}
if (got_quit)
- break;
+ goto skip;
}
/* Move the cursor to the start of the match, so that we can
:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc
a:$put =',,Z'
:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc
-yy/^TEST_9
+yy/^TEST_9:
ENDTEST
TEST_9:
+STARTTEST
+:set magic&
+:set cpo&
+:$put =\"\n\nTEST_9:\"
+:$put ='xxx'
+:s/x/X/gc
+yyq/^TEST_10:
+ENDTEST
+
+TEST_10:
+
STARTTEST
:/^Results/,$wq! test.out
ENDTEST
N,,NX
N,,NY
N,,NZ
+
+
+TEST_9:
+XXx
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 803,
/**/
802,
/**/