25 lines
900 B
Diff
25 lines
900 B
Diff
From dd44b58f64a173ffc976cc96ccdd00cd5493b273 Mon Sep 17 00:00:00 2001
|
|
From: Bram Moolenaar <Bram@vim.org>
|
|
Date: Thu, 15 Sep 2022 22:03:57 +0100
|
|
Subject: [PATCH] patch 9.0.0474: fullcommand() test failure
|
|
|
|
Problem: fullcommand() test failure.
|
|
Solution: Update function table.
|
|
---
|
|
src/evalfunc.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/evalfunc.c b/src/evalfunc.c
|
|
index cd315629498b0..cab3213469954 100644
|
|
--- a/src/evalfunc.c
|
|
+++ b/src/evalfunc.c
|
|
@@ -1848,7 +1848,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},
|