From 8ca91891d1f8f6df8073a4cc4af4132f8c6695ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= <blaz@mxxn.io>
Date: Tue, 5 Oct 2021 22:35:38 +0900
Subject: [PATCH] fix compilation

---
 helix-term/src/application.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 79921268..8019b839 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -256,7 +256,7 @@ impl Application {
         // TODO: if completion window was closed with enter (and no selection) we shouldn't retrigger
 
         let mut cx = Context {
-            selected_register: helix_view::RegisterSelection::default(),
+            register: None,
             editor: &mut self.editor,
             jobs: &mut self.jobs,
             count: None,