Vim rename via menu too? (#14617)
Follow up to #14320 Release Notes: - N/A
This commit is contained in:
parent
2cdfae9ce3
commit
acc9c2421b
1 changed files with 5 additions and 0 deletions
|
@ -9491,6 +9491,11 @@ impl Editor {
|
|||
}
|
||||
editor
|
||||
});
|
||||
cx.subscribe(&rename_editor, |_, _, e, cx| match e {
|
||||
EditorEvent::Focused => cx.emit(EditorEvent::FocusedIn),
|
||||
_ => {}
|
||||
})
|
||||
.detach();
|
||||
|
||||
let write_highlights =
|
||||
this.clear_background_highlights::<DocumentHighlightWrite>(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue