aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index e56c2b67..f5bf6bf1 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1835,7 +1835,7 @@ fn make_search_word_bounded(cx: &mut Context) {
}
let msg = format!("register '{}' set to '{}'", '/', &new_regex);
- cx.editor.registers.get_mut('/').push(new_regex);
+ cx.editor.registers.push('/', new_regex);
cx.editor.set_status(msg);
}