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 b2d162f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/theme/tokenColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit b2d162f

Please sign in to comment.