@@ -256,7 +256,7 @@ impl Application {
256 // TODO: if completion window was closed with enter (and no selection) we shouldn't retrigger
256 // TODO: if completion window was closed with enter (and no selection) we shouldn't retrigger
258 let mut cx = Context {
258 let mut cx = Context {
259− selected_register: helix_view::RegisterSelection::default(),
259+ register: None,
260 editor: &mut self.editor,
260 editor: &mut self.editor,
261 jobs: &mut self.jobs,
261 jobs: &mut self.jobs,
262 count: None,
262 count: None,