diff options
author | Blaž Hrastnik | 2022-02-17 03:22:30 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-02-18 04:50:06 +0000 |
commit | 4e1b3b12f3f5626f1ab371d99fecd23e2f5b8603 (patch) | |
tree | a453c660efc7f70f7d62652328228c8b04d46754 /helix-term/src/commands | |
parent | a8cf0c6b90bd469047ac8fc294dbf90fcff71c7a (diff) |
Refactor symbol picker to share code
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r-- | helix-term/src/commands/dap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands/dap.rs b/helix-term/src/commands/dap.rs index 925c65c1..4de3134b 100644 --- a/helix-term/src/commands/dap.rs +++ b/helix-term/src/commands/dap.rs @@ -792,7 +792,7 @@ pub fn dap_switch_stack_frame(cx: &mut Context) { let picker = FilePicker::new( frames, - |frame| frame.name.clone().into(), // TODO: include thread_states in the label + |frame| frame.name.as_str().into(), // TODO: include thread_states in the label move |cx, frame, _action| { let debugger = debugger!(cx.editor); // TODO: this should be simpler to find |