aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-12-03 04:27:00 +0000
committerBlaž Hrastnik2021-12-03 04:27:00 +0000
commit43fbb6d965ad5a1a6cd07c0646a0e6b278ff5397 (patch)
tree74d8084982a4278920ad9ac1f3bd7aa11fdb3f23 /helix-term/src/commands.rs
parent032aaffa153e534481385af3b9fd3b8217d2e253 (diff)
Make dap_start non-blocking
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 9a978c4c..1871c67e 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -2571,8 +2571,7 @@ mod cmd {
0 => None,
_ => Some(args.remove(0)),
};
- dap_start_impl(&mut cx.editor, name, None, Some(args));
- Ok(())
+ dap_start_impl(cx, name, None, Some(args))
}
fn debug_remote(
@@ -2589,9 +2588,7 @@ mod cmd {
0 => None,
_ => Some(args.remove(0)),
};
- dap_start_impl(&mut cx.editor, name, address, Some(args));
-
- Ok(())
+ dap_start_impl(cx, name, address, Some(args))
}
fn tutor(