From 2158366b24da8229e743546ccedc5cd05292e254 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Tue, 24 Aug 2021 10:51:52 +0300 Subject: [PATCH] Enable variable types in DAP config We have this feature --- helix-dap/src/client.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index 94a76a54e..43afc4c61 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),