changeset 30277:2505460dc703 v9.0.0474

patch 9.0.0474: fullcommand() test failure Commit: https://github.com/vim/vim/commit/dd44b58f64a173ffc976cc96ccdd00cd5493b273 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 15 22:03:57 2022 +0100 patch 9.0.0474: fullcommand() test failure Problem: fullcommand() test failure. Solution: Update function table.
author Bram Moolenaar <Bram@vim.org>
date Thu, 15 Sep 2022 23:15:04 +0200
parents ada1e4899476
children 411de6797afc
files src/evalfunc.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -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},
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    474,
+/**/
     473,
 /**/
     472,