mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-11-10 06:16:00 +03:00
fix slash in search selector status message (#1449)
This commit is contained in:
parent
7767703979
commit
b18bda928f
@ -1639,7 +1639,7 @@ fn search_selection(cx: &mut Context) {
|
||||
let query = doc.selection(view.id).primary().fragment(contents);
|
||||
let regex = regex::escape(&query);
|
||||
cx.editor.registers.get_mut('/').push(regex);
|
||||
let msg = format!("register '{}' set to '{}'", '\\', query);
|
||||
let msg = format!("register '{}' set to '{}'", '/', query);
|
||||
cx.editor.set_status(msg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user