We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d7d2c commit 7b8bbc9Copy full SHA for 7b8bbc9
src/decorator.ts
@@ -59,7 +59,7 @@ export function injectCustomTextmateTokens(rules: ValueEqualsSet<TextMateRule>)
59
newRules.add(new TextMateRule(rule.scope, rule.settings));
60
}
61
62
- if (newRules.size !== 0) {
+ if (newRules.size !== currentRules.length) {
63
tokenColorCustomizations.textMateRules = newRules.toArray();
64
tokensConfig.update("tokenColorCustomizations", tokenColorCustomizations, ConfigurationTarget.Workspace).then(
65
() => {
0 commit comments