aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-11-15 14:34:00 +0000
committerBlaž Hrastnik2022-11-15 14:34:00 +0000
commitdf6d04425d130f385c4314ed944d5a27963ae9a3 (patch)
treefb57c974da5d5517202d10c768f2b197a0d096b0
parent392a018aebe1716c94be94dbbf967b1698843218 (diff)
fix build
-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);
}