on master help sign in
fix build
commitdf6d04425d130f385c4314ed944d5a27963ae9a3 authorBlaž Hrastnik <blaz@mxxn.io> dateTue 15 Nov 2022, 23:34 (4 years ago) parent392a018
1 file changed+1−1
helix-term/src/commands.rs+1−1
helix-term/src/commands.rs+1−1
@@ -1835,7 +1835,7 @@ fn make_search_word_bounded(cx: &mut Context) {
18351835 }
18361836
18371837 let msg = format!("register '{}' set to '{}'", '/', &new_regex);
1838− cx.editor.registers.get_mut('/').push(new_regex);
1838+ cx.editor.registers.push('/', new_regex);
18391839 cx.editor.set_status(msg);
18401840}
18411841