From 6265e196b700b363244961ed2957d9eef5460c34 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Mon, 30 Aug 2021 16:09:41 +0300 Subject: [PATCH] compat: change lldb to lldb-vscode This should be preferred ID, although now lldb-vscode works with any --- helix-dap/examples/dap-lldb.rs | 5 ++++- languages.toml | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/helix-dap/examples/dap-lldb.rs b/helix-dap/examples/dap-lldb.rs index 2adef8b2a..2022ef48e 100644 --- a/helix-dap/examples/dap-lldb.rs +++ b/helix-dap/examples/dap-lldb.rs @@ -48,7 +48,10 @@ pub async fn main() -> Result<()> { tokio::spawn(dispatch(events)); - println!("init: {:?}", client.initialize("lldb".to_owned()).await); + println!( + "init: {:?}", + client.initialize("lldb-vscode".to_owned()).await + ); println!("caps: {:?}", client.capabilities()); let args = LaunchArguments { diff --git a/languages.toml b/languages.toml index f83f0d2fa..d028f92c5 100644 --- a/languages.toml +++ b/languages.toml @@ -21,7 +21,7 @@ language-server = { command = "rust-analyzer" } indent = { tab-width = 4, unit = " " } [language.debugger] -name = "lldb" +name = "lldb-vscode" transport = "tcp" command = "lldb-vscode" args = [] @@ -90,7 +90,7 @@ language-server = { command = "clangd" } indent = { tab-width = 2, unit = " " } [language.debugger] -name = "lldb" +name = "lldb-vscode" transport = "tcp" command = "lldb-vscode" args = [] @@ -120,7 +120,7 @@ language-server = { command = "clangd" } indent = { tab-width = 2, unit = " " } [language.debugger] -name = "lldb" +name = "lldb-vscode" transport = "tcp" command = "lldb-vscode" args = []