@@ -13,7 +13,6 @@ use crate::{
1313};
1414
1515use log::error;
16−use smallvec::smallvec;
1716use std::{
1817 io::{stdout, Write},
1918 sync::Arc,
@@ -305,20 +304,17 @@ impl Application {
305304 if let Some(helix_dap::StackFrame {
306305 source:
307306 Some(helix_dap::Source {
308− path: Some(src), ..
307+ path: Some(ref src),
308+ ..
309309 }),
310310 line,
311311 column,
312312 end_line,
313313 end_column,
314314 ..
315− }) = &debugger.stack_pointer
315+ }) = debugger.stack_pointer
316316 {
317317 let path = src.clone();
318− let line = *line;
319− let column = *column;
320− let end_line = *end_line;
321− let end_column = *end_column;
322318 self.editor
323319 .open(path, helix_view::editor::Action::Replace)
324320 .unwrap();
@@ -333,7 +329,10 @@ impl Application {
333329 doc.set_selection(
334330 view.id,
335331 Selection::new(
336− smallvec![Range::new(start.min(text_end), end.min(text_end))],
332+ helix_core::SmallVec::from_vec(vec![Range::new(
333+ start.min(text_end),
334+ end.min(text_end),
335+ )]),
337336 0,
338337 ),
339338 );