aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/register.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-view/src/register.rs b/helix-view/src/register.rs
index 3d1849a6..0ebea536 100644
--- a/helix-view/src/register.rs
+++ b/helix-view/src/register.rs
@@ -29,6 +29,7 @@ pub struct Registers {
/// efficiently prepend new values in `Registers::push`.
inner: HashMap<char, Vec<String>>,
clipboard_provider: Box<dyn ClipboardProvider>,
+ pub last_search_register: char,
}
impl Default for Registers {
@@ -36,6 +37,7 @@ impl Default for Registers {
Self {
inner: Default::default(),
clipboard_provider: get_clipboard_provider(),
+ last_search_register: '/',
}
}
}