aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-30 13:09:41 +0000
committerDmitry Sharshakov2021-08-30 13:09:41 +0000
commit6265e196b700b363244961ed2957d9eef5460c34 (patch)
treee655542685791e4a3331d163babea06230329fc4
parent0b0b1d850a0a622dc7e74ec3937523ea1dc93fe8 (diff)
compat: change lldb to lldb-vscode
This should be preferred ID, although now lldb-vscode works with any
-rw-r--r--helix-dap/examples/dap-lldb.rs5
-rw-r--r--languages.toml6
2 files changed, 7 insertions, 4 deletions
diff --git a/helix-dap/examples/dap-lldb.rs b/helix-dap/examples/dap-lldb.rs
index 2adef8b2..2022ef48 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 f83f0d2f..d028f92c 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 = []