Unify highlights in *Map

This commit is contained in:
Kirill Bulatov committed 2023-09-14 22:08:12 +03:00
1 parent 5a9d375f79
commit c8ede63d7c
10 files changed
+100 -118

No files matched your search

+1 -1
View File
@@ -702,7 +702,7 @@ impl AssistantPanel {
}
if foreground_ranges.is_empty() {
editor.clear_text_highlights::<PendingInlineAssist>(cx);
editor.clear_highlights::<PendingInlineAssist>(cx);
} else {
editor.highlight_text::<PendingInlineAssist>(
foreground_ranges,