From b2d162f242a46b79db33f9f3b4c1c0098d55793c Mon Sep 17 00:00:00 2001 From: winston Date: Sat, 9 Sep 2023 02:26:34 +0200 Subject: [PATCH] fix: italic comments toggle Closes #152 --- src/theme/tokenColors.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/theme/tokenColors.ts b/src/theme/tokenColors.ts index cd90d3853..8bdb5919e 100644 --- a/src/theme/tokenColors.ts +++ b/src/theme/tokenColors.ts @@ -6,6 +6,8 @@ export const getTokenColors = (context: ThemeContext): TextmateColors => { return tokens(context).map((token) => { // honor the user's italic keyword settings, skip comments (they are handled separately) + if (token.name === "Comments") return token; + token = { ...token, settings: {