aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-24 07:51:52 +0000
committerDmitry Sharshakov2021-08-24 07:51:52 +0000
commit2158366b24da8229e743546ccedc5cd05292e254 (patch)
tree2b4fd1f4ee845be6a8e92ba610fd5c42e63b8bd3
parentfdad7d67aa158c963a4b5397e9d7de960706cd2a (diff)
Enable variable types in DAP config
We have this feature
-rw-r--r--helix-dap/src/client.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index 94a76a54..43afc4c6 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -225,7 +225,9 @@ impl Client {
}
pub fn capabilities(&self) -> &DebuggerCapabilities {
- self.caps.as_ref().expect("debugger not yet initialized!")
+ self.caps
+ .as_ref()
+ .expect("debugger not yet initialized!")
}
pub async fn initialize(&mut self, adapter_id: String) -> Result<()> {
@@ -237,7 +239,7 @@ impl Client {
lines_start_at_one: Some(true),
columns_start_at_one: Some(true),
path_format: Some("path".to_owned()),
- supports_variable_type: Some(false),
+ supports_variable_type: Some(true),
supports_variable_paging: Some(false),
supports_run_in_terminal_request: Some(false),
supports_memory_references: Some(false),