@@ -327,7 +327,7 @@ impl Application {
327327 let path = path.clone();
328328 self.editor
329329 .open(path, helix_view::editor::Action::Replace)
330− .unwrap();
330+ .unwrap(); // TODO: there should be no unwrapping!
331331
332332 let (view, doc) = current!(self.editor);
333333
@@ -351,10 +351,10 @@ impl Application {
351351 .unwrap_or(0);
352352
353353 Selection::new(
354− helix_core::SmallVec::from_vec(vec![Range::new(
354+ helix_core::smallvec![Range::new(
355355 start.min(text_end),
356356 end.min(text_end),
357− )]),
357+ )],
358358 0,
359359 )
360360 } else {