From 110eb73045b9a61654a6805cc006b934422fd82f Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Sun, 31 Jul 2022 13:59:15 +0200 Subject: [PATCH] Add cwd parameter which is not optional anymore (#3240) --- helix-term/src/commands/dap.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helix-term/src/commands/dap.rs b/helix-term/src/commands/dap.rs index 9f6f4c15..1c780c1f 100644 --- a/helix-term/src/commands/dap.rs +++ b/helix-term/src/commands/dap.rs @@ -216,6 +216,8 @@ pub fn dap_start_impl( } } + args.insert("cwd", to_value(std::env::current_dir().unwrap())?); + let args = to_value(args).unwrap(); let callback = |_editor: &mut Editor, _compositor: &mut Compositor, _response: Value| {