aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-23 14:26:12 +0000
committerDmitry Sharshakov2021-08-23 14:26:12 +0000
commitb6b99b248783583bdcc2439a78b503a31cbbcce8 (patch)
tree458daf7fcbfe09b6743d86dfed61744fe7e6c443 /helix-term/src/commands.rs
parent839d2105739036decf045f6af85ce05152f514ef (diff)
config: minor fixes
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 749b8820..c10f94e6 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -4362,10 +4362,10 @@ fn dap_start(cx: &mut Context) {
return;
}
};
- let started = Client::process(config, 0);
+ let started = Client::process(config.clone(), 0);
let (mut debugger, events) = block_on(started).unwrap();
- let request = debugger.initialize("go".to_owned());
+ let request = debugger.initialize(config.name);
let _ = block_on(request).unwrap();
let sessions = cx