diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 77c9170492..1b0597e648 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -348,6 +348,15 @@ func Test_cmdline_complete_wildoptions() bw! endfunc +func Test_cmdline_complete_user_cmd() + command! -complete=color -nargs=1 Foo : + call feedkeys(":Foo \\\"\", 'tx') + call assert_equal('"Foo blue', @:) + call feedkeys(":Foo b\\\"\", 'tx') + call assert_equal('"Foo blue', @:) + delcommand Foo +endfunc + " using a leading backslash here set cpo+=C diff --git a/src/version.c b/src/version.c index f490deba10..ba3aefc3c8 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 525, /**/ 524, /**/