Restore document highlights when canceling a rename

This commit is contained in:
Max Brunsfeld 2022-07-12 17:01:18 -07:00
parent 69f517ead5
commit b7109ea4fc

View file

@ -4979,6 +4979,8 @@ impl Editor {
self.change_selections(None, cx, |s| {
s.select_ranges(vec![cursor_in_editor..cursor_in_editor])
});
} else {
self.refresh_document_highlights(cx);
}
Some(rename)