From 8fd5192d201365f9ece254e752812f030d4ca232 Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Sun, 10 Dec 2023 11:01:52 +0100 Subject: [PATCH] fix: add color support for constant placeholders inside strings Closes #1291 --- scripts/generator/color-set.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/generator/color-set.ts b/scripts/generator/color-set.ts index c2ed7e1..ac08757 100644 --- a/scripts/generator/color-set.ts +++ b/scripts/generator/color-set.ts @@ -48,6 +48,15 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => { * Override all syntax tokens */ customTokens: [ + { + name: 'Constant Placeholder', + scope: [ + 'constant.other.placeholder' + ], + settings: { + foreground: theme.scheme.base.red + } + }, { name: 'Markup Deleted', scope: [