Unnamed repository; edit this file 'description' to name the repository.
Add cwd parameter which is not optional anymore (#3240)
Danilo Spinella 2022-07-31
parent ab616ab · commit 110eb73
-rw-r--r--helix-term/src/commands/dap.rs2
1 files changed, 2 insertions, 0 deletions
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| {