Skip to content

Commit

Permalink
fix: italic comments toggle
Browse files Browse the repository at this point in the history
Closes #152
  • Loading branch information
nekowinston committed Sep 9, 2023
1 parent c98b226 commit a7c97c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/theme/tokenColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export const getTokenColors = (context: ThemeContext): TextmateColors => {
const { options } = context;

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: {
Expand Down

0 comments on commit a7c97c7

Please sign in to comment.