aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-25 05:33:46 +0000
committerDmitry Sharshakov2021-08-25 05:33:46 +0000
commit326293cb5706fefb7b7ee3c7d4b27389c5c888fe (patch)
tree09fe2dd5f52404e07dff8109a8a426b8b4317018
parent2c3e2b979b8b2fb501cb0c6b7123d9091266efdc (diff)
only show variables' names and types
-rw-r--r--helix-term/src/commands.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index c39802a2..b83c1e3e 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -4649,7 +4649,8 @@ fn dap_variables(cx: &mut Context) {
Some(data_type) => format!("{} ", data_type),
None => "".to_owned(),
};
- s.push_str(&format!("{}{} = {}; ", prefix, var.name, var.value));
+ // s.push_str(&format!("{}{} = {}; ", prefix, var.name, var.value));
+ s.push_str(&format!("{}{}; ", prefix, var.name,));
}
}
}