From 82b7f2433b884c80c7bd74667c735709c5914672 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Thu, 17 Aug 2017 10:02:26 +0200 Subject: [PATCH] [themes] 'italic' on fontStyle marked as error --- src/vs/workbench/services/themes/common/colorThemeSchema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/services/themes/common/colorThemeSchema.ts b/src/vs/workbench/services/themes/common/colorThemeSchema.ts index e6a4a910d32..5c6b7609512 100644 --- a/src/vs/workbench/services/themes/common/colorThemeSchema.ts +++ b/src/vs/workbench/services/themes/common/colorThemeSchema.ts @@ -127,7 +127,7 @@ export const tokenColorizationSettingSchema: IJSONSchema = { fontStyle: { type: 'string', description: nls.localize('schema.token.fontStyle', 'Font style of the rule: One or a combination of \'italic\', \'bold\' and \'underline\''), - pattern: '^(\\s*\\b(italics|bold|underline))*\\s*$', + pattern: '^(\\s*\\b(italic|bold|underline))*\\s*$', patternErrorMessage: nls.localize('schema.fontStyle.error', 'Font style must be a combination of \'italic\', \'bold\' and \'underline\''), defaultSnippets: [{ body: 'italic' }, { body: 'bold' }, { body: 'underline' }, { body: 'italic bold' }, { body: 'italic underline' }, { body: 'bold underline' }, { body: 'italic bold underline' }] } -- GitLab