fix slash in search selector status message (#1449)
This commit is contained in:
parent
7767703979
commit
b18bda928f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue