Problem: Vim9: missing white space when using <f-args>.
Solution: Add spaces. (Christian J. Robinson)
bwipe!
enddef
+def Test_f_args()
+ var lines =<< trim END
+ vim9script
+
+ func SaveCmdArgs(...)
+ let g:args = a:000
+ endfunc
+
+ command -nargs=* TestFArgs call SaveCmdArgs(<f-args>)
+
+ TestFArgs
+ assert_equal([], g:args)
+
+ TestFArgs one two three
+ assert_equal(['one', 'two', 'three'], g:args)
+ END
+ CheckScriptSuccess(lines)
+enddef
" vim: ts=8 sw=2 sts=2 expandtab tw=80 fdm=marker
p = skipwhite(p);
if (*p == NUL)
break;
- len += 3; // ","
+ len += 4; // ", "
}
else
{
break;
*q++ = '"';
*q++ = ',';
+ *q++ = ' ';
*q++ = '"';
}
else
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1873,
/**/
1872,
/**/