aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json9
-rw-r--r--editors/code/src/highlighting.ts1
2 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index c24e73d24..68b3b6e05 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -486,6 +486,15 @@
486 } 486 }
487 }, 487 },
488 { 488 {
489 "id": "ralsp.type.lifetime",
490 "description": "Color for `Self` param type",
491 "defaults": {
492 "dark": "#4EC9B0",
493 "light": "#267F99",
494 "highContrast": "#4EC9B0"
495 }
496 },
497 {
489 "id": "ralsp.type.self", 498 "id": "ralsp.type.self",
490 "description": "Color for `Self` param type", 499 "description": "Color for `Self` param type",
491 "defaults": { 500 "defaults": {
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts
index 2c8a98aa6..d7c0ae131 100644
--- a/editors/code/src/highlighting.ts
+++ b/editors/code/src/highlighting.ts
@@ -56,6 +56,7 @@ export class Highlighter {
56 decoration('type.self'), 56 decoration('type.self'),
57 decoration('type.generic'), 57 decoration('type.generic'),
58 decoration('type.param'), 58 decoration('type.param'),
59 decoration('type.lifetime'),
59 decoration('builtin'), 60 decoration('builtin'),
60 decoration('text'), 61 decoration('text'),
61 decoration('attribute'), 62 decoration('attribute'),