diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index c5f9d50ac..ad1101603 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -380,6 +380,28 @@ | |||
380 | } | 380 | } |
381 | } | 381 | } |
382 | ], | 382 | ], |
383 | "semanticTokenTypes": [ | ||
384 | { | ||
385 | "id": "attribute" | ||
386 | }, | ||
387 | { | ||
388 | "id": "constant" | ||
389 | } | ||
390 | ], | ||
391 | "semanticTokenModifiers": [ | ||
392 | { | ||
393 | "id": "mutable" | ||
394 | }, | ||
395 | { | ||
396 | "id": "unsafe" | ||
397 | }, | ||
398 | { | ||
399 | "id": "control" | ||
400 | }, | ||
401 | { | ||
402 | "id": "builtin" | ||
403 | } | ||
404 | ], | ||
383 | "semanticTokenStyleDefaults": [ | 405 | "semanticTokenStyleDefaults": [ |
384 | { | 406 | { |
385 | "selector": "*.mutable", | 407 | "selector": "*.mutable", |
@@ -392,6 +414,12 @@ | |||
392 | "highContrast": { | 414 | "highContrast": { |
393 | "fontStyle": "underline" | 415 | "fontStyle": "underline" |
394 | } | 416 | } |
417 | }, | ||
418 | { | ||
419 | "selector": "constant", | ||
420 | "scope": [ | ||
421 | "entity.name.constant" | ||
422 | ] | ||
395 | } | 423 | } |
396 | ] | 424 | ] |
397 | } | 425 | } |