Fix highlighting token names
This commit is contained in:
@@ -7,9 +7,9 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
|||||||
.string { color: #CC9393; }
|
.string { color: #CC9393; }
|
||||||
.function { color: #93E0E3; }
|
.function { color: #93E0E3; }
|
||||||
.parameter { color: #94BFF3; }
|
.parameter { color: #94BFF3; }
|
||||||
.builtin { color: #DD6718; }
|
|
||||||
.text { color: #DCDCCC; }
|
.text { color: #DCDCCC; }
|
||||||
.type { color: #7CB8BB; }
|
.type { color: #7CB8BB; }
|
||||||
|
.type\.builtin { color: #8CD0D3; }
|
||||||
.type\.param { color: #20999D; }
|
.type\.param { color: #20999D; }
|
||||||
.attribute { color: #94BFF3; }
|
.attribute { color: #94BFF3; }
|
||||||
.literal { color: #BFEBBF; }
|
.literal { color: #BFEBBF; }
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
|||||||
.string { color: #CC9393; }
|
.string { color: #CC9393; }
|
||||||
.function { color: #93E0E3; }
|
.function { color: #93E0E3; }
|
||||||
.parameter { color: #94BFF3; }
|
.parameter { color: #94BFF3; }
|
||||||
.builtin { color: #DD6718; }
|
|
||||||
.text { color: #DCDCCC; }
|
.text { color: #DCDCCC; }
|
||||||
.type { color: #7CB8BB; }
|
.type { color: #7CB8BB; }
|
||||||
|
.type\.builtin { color: #8CD0D3; }
|
||||||
.type\.param { color: #20999D; }
|
.type\.param { color: #20999D; }
|
||||||
.attribute { color: #94BFF3; }
|
.attribute { color: #94BFF3; }
|
||||||
.literal { color: #BFEBBF; }
|
.literal { color: #BFEBBF; }
|
||||||
|
|||||||
@@ -284,9 +284,9 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
|||||||
.string { color: #CC9393; }
|
.string { color: #CC9393; }
|
||||||
.function { color: #93E0E3; }
|
.function { color: #93E0E3; }
|
||||||
.parameter { color: #94BFF3; }
|
.parameter { color: #94BFF3; }
|
||||||
.builtin { color: #DD6718; }
|
|
||||||
.text { color: #DCDCCC; }
|
.text { color: #DCDCCC; }
|
||||||
.type { color: #7CB8BB; }
|
.type { color: #7CB8BB; }
|
||||||
|
.type\\.builtin { color: #8CD0D3; }
|
||||||
.type\\.param { color: #20999D; }
|
.type\\.param { color: #20999D; }
|
||||||
.attribute { color: #94BFF3; }
|
.attribute { color: #94BFF3; }
|
||||||
.literal { color: #BFEBBF; }
|
.literal { color: #BFEBBF; }
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ export class Highlighter {
|
|||||||
decoration('function'),
|
decoration('function'),
|
||||||
decoration('parameter'),
|
decoration('parameter'),
|
||||||
decoration('constant'),
|
decoration('constant'),
|
||||||
decoration('type'),
|
decoration('type.builtin'),
|
||||||
decoration('type.self'),
|
|
||||||
decoration('type.generic'),
|
decoration('type.generic'),
|
||||||
decoration('type.param'),
|
|
||||||
decoration('type.lifetime'),
|
decoration('type.lifetime'),
|
||||||
decoration('builtin'),
|
decoration('type.param'),
|
||||||
|
decoration('type.self'),
|
||||||
|
decoration('type'),
|
||||||
decoration('text'),
|
decoration('text'),
|
||||||
decoration('attribute'),
|
decoration('attribute'),
|
||||||
decoration('literal'),
|
decoration('literal'),
|
||||||
|
|||||||
Reference in New Issue
Block a user