]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0474: fullcommand() test failure v9.0.0474
authorBram Moolenaar <Bram@vim.org>
Thu, 15 Sep 2022 21:03:57 +0000 (22:03 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 15 Sep 2022 21:03:57 +0000 (22:03 +0100)
Problem:    fullcommand() test failure.
Solution:   Update function table.

src/evalfunc.c
src/version.c

index cd315629498b0e59a1101510abe2f42b2da89754..cab3213469954a58c4a937709e35e7b12d92b69a 100644 (file)
@@ -1853,7 +1853,7 @@ static funcentry_T global_functions[] =
                        ret_string,         f_foldtextresult},
     {"foreground",     0, 0, 0,            NULL,
                        ret_void,           f_foreground},
-    {"fullcommand",    1, 1, FEARG_1,      arg1_string,
+    {"fullcommand",    1, 2, FEARG_1,      arg2_string_bool,
                        ret_string,         f_fullcommand},
     {"funcref",                1, 3, FEARG_1,      arg3_any_list_dict,
                        ret_func_unknown,   f_funcref},
index 3f25033ecf9cacf94f2d57cbbdce5b34f5c86655..291fc05385e08567fa44cfffeb837e32fad68c3f 100644 (file)
@@ -703,6 +703,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    474,
 /**/
     473,
 /**/