mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
Restore document highlights when canceling a rename
This commit is contained in:
parent
69f517ead5
commit
b7109ea4fc
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue