mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Merge #2580
2580: Fix highlighting token names r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
f51a3fed9f
4 changed files with 7 additions and 7 deletions
|
@ -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'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue