Skip to content

Commit 902269a

Browse files
committed
Fix that syntax highlighting not updating when color scheme changes
1 parent 8833e11 commit 902269a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Core/Sources/SuggestionWidget/SuggestionWidgetController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ public final class SuggestionWidgetController {
162162
}
163163
}()
164164
self.suggestionPanelViewModel.colorScheme = self.colorScheme
165+
Task {
166+
await self.updateSuggestionsForActiveEditor()
167+
}
165168
}
166169

167170
updateColorScheme()

0 commit comments

Comments
 (0)