Skip to content

Commit 30c4bb1

Browse files
authored
Fix#196597 word highlighter decoration not being set (microsoft#196642)
1 parent d479eab commit 30c4bb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ class WordHighlighter {
750750
WordHighlighter.storedDecorations = WordHighlighter.storedDecorations.set(uri, newDecorationIDs);
751751

752752
if (newDecorations.length > 0) {
753+
editorHighlighterContrib.wordHighlighter?.decorations.set(newDecorations);
753754
editorHighlighterContrib.wordHighlighter?._hasWordHighlights.set(true);
754755
}
755756
}

0 commit comments

Comments
 (0)