diff options
author | Blaž Hrastnik | 2022-11-15 14:34:00 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-11-15 14:34:00 +0000 |
commit | df6d04425d130f385c4314ed944d5a27963ae9a3 (patch) | |
tree | fb57c974da5d5517202d10c768f2b197a0d096b0 /helix-term | |
parent | 392a018aebe1716c94be94dbbf967b1698843218 (diff) |
fix build
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
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); } |