diff options
author | Danilo Spinella | 2022-07-31 11:59:15 +0000 |
---|---|---|
committer | GitHub | 2022-07-31 11:59:15 +0000 |
commit | 110eb73045b9a61654a6805cc006b934422fd82f (patch) | |
tree | 2fcce0c2701a4a197af286a755d2689c837c2bb2 /helix-term/src/commands | |
parent | ab616ab7186e0eff6950991b143c2b4134f10dfb (diff) |
Add cwd parameter which is not optional anymore (#3240)
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r-- | helix-term/src/commands/dap.rs | 2 |
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| { |