From abc03517fe7784de951d930ba76f1bd7db5fe63b Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 1 May 2023 11:05:47 -0500 Subject: T5194: add completion_help --- src/reference_tree.mli | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/reference_tree.mli') diff --git a/src/reference_tree.mli b/src/reference_tree.mli index baa2694..6d02093 100644 --- a/src/reference_tree.mli +++ b/src/reference_tree.mli @@ -9,12 +9,19 @@ type value_constraint = | External of string * string option [@name "exec"] [@@deriving yojson] +type completion_help_type = + | List of string [@name "list"] + | Path of string [@name "path"] + | Script of string [@name "script"] + [@@deriving yojson] + type ref_node_data = { node_type: node_type; constraints: value_constraint list; + constraint_error_message: string; + completion_help: completion_help_type list; help: string; value_help: (string * string) list; - constraint_error_message: string; multi: bool; valueless: bool; owner: string option; -- cgit v1.2.3