Skip to content

Commit

Permalink
fix(js): more expressions marked as keyword/mauve (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston authored Jan 1, 2024
1 parent b129824 commit fde3779
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/theme/tokens/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,12 @@ const tokens = (context: ThemeContext): TextmateColors => {
},
},
{
name: "of/ keyof / typeof as keywords",
name: "Extra JS/TS keywords",
scope: [
"keyword.operator.expression.keyof.ts",
"keyword.operator.expression.typeof.js",
"keyword.operator.expression.typeof.ts",
"keyword.operator.expression.of.ts",
"keyword.operator.expression.of.js",
"keyword.operator.expression.in",
"keyword.operator.expression.instanceof",
"keyword.operator.expression.is",
"keyword.operator.expression.keyof",
],
settings: {
foreground: palette.mauve,
Expand Down

0 comments on commit fde3779

Please sign in to comment.