Vim rename via menu too? (#14617)

Follow up to #14320

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-07-16 21:00:00 -06:00 committed by GitHub
parent 2cdfae9ce3
commit acc9c2421b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);