aboutsummaryrefslogtreecommitdiff
path: root/helix-dap/examples/dap-basic.rs
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-13 17:18:15 +0000
committerBlaž Hrastnik2021-08-20 04:43:54 +0000
commit3d64cf8356044fb272fd0a93e8235f967b9da156 (patch)
tree9e0b60851c5491f11dfcc6dbb897f6d3db605dda /helix-dap/examples/dap-basic.rs
parentfabee039835e18ec464164f60182689f7489cfe7 (diff)
fix: move adapter_id out of DAP client
Diffstat (limited to 'helix-dap/examples/dap-basic.rs')
-rw-r--r--helix-dap/examples/dap-basic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-dap/examples/dap-basic.rs b/helix-dap/examples/dap-basic.rs
index 68e8ab54..2e4ff2b1 100644
--- a/helix-dap/examples/dap-basic.rs
+++ b/helix-dap/examples/dap-basic.rs
@@ -17,7 +17,7 @@ pub async fn main() -> Result<()> {
println!("create: {:?}", client);
let mut client = client?;
- println!("init: {:?}", client.initialize().await);
+ println!("init: {:?}", client.initialize("go".to_owned()).await);
println!("caps: {:#?}", client.capabilities());
println!(
"launch: {:?}",