Add event listener that listens to configuration changes and reloads the theme when it changes.
Details
Details
- Reviewers
hokein ilya-biryukov - Commits
- rG4683eec2d303: [clangd] Update themeRuleMatcher when color theme changes in vscode extension.
rCTE370305: [clangd] Update themeRuleMatcher when color theme changes in vscode extension.
rL370305: [clangd] Update themeRuleMatcher when color theme changes in vscode extension.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
please update the description of the patch.
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts | ||
---|---|---|
104 ↗ | (On Diff #217638) | does conf.affectsConfiguration('workbench.colorTheme') work? |
Comment Actions
Use conf.affectsConfiguration('workbench.colorTheme') instead of keeping track of the old color theme manually.