@@ -13,7 +13,6 @@ use crate::{
15use log::error;
15use log::error;
16−use smallvec::smallvec;
18 io::{stdout, Write},
17 io::{stdout, Write},
19 sync::Arc,
18 sync::Arc,
@@ -305,20 +304,17 @@ impl Application {
305 if let Some(helix_dap::StackFrame {
304 if let Some(helix_dap::StackFrame {
307 Some(helix_dap::Source {
306 Some(helix_dap::Source {
308− path: Some(src), ..
307+ path: Some(ref src),
312 end_line,
312 end_line,
313 end_column,
313 end_column,
315− }) = &debugger.stack_pointer
315+ }) = debugger.stack_pointer
317 let path = src.clone();
317 let path = src.clone();
319− let column = *column;
320− let end_line = *end_line;
321− let end_column = *end_column;
322 self.editor
318 self.editor
323 .open(path, helix_view::editor::Action::Replace)
319 .open(path, helix_view::editor::Action::Replace)
324 .unwrap();
320 .unwrap();
@@ -333,7 +329,10 @@ impl Application {
333 doc.set_selection(
329 doc.set_selection(
335 Selection::new(
331 Selection::new(
332+ helix_core::SmallVec::from_vec(vec![Range::new(
336− smallvec![Range::new(start.min(text_end), end.min(text_end))],
333+ start.min(text_end),