aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_ide/src/snapshots/highlighting.html2
-rw-r--r--crates/ra_ide/src/snapshots/rainbow_highlighting.html2
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs2
-rw-r--r--editors/code/src/highlighting.ts8
4 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_ide/src/snapshots/highlighting.html b/crates/ra_ide/src/snapshots/highlighting.html
index 40605d9ef..2157139f6 100644
--- a/crates/ra_ide/src/snapshots/highlighting.html
+++ b/crates/ra_ide/src/snapshots/highlighting.html
@@ -7,9 +7,9 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
7.string { color: #CC9393; } 7.string { color: #CC9393; }
8.function { color: #93E0E3; } 8.function { color: #93E0E3; }
9.parameter { color: #94BFF3; } 9.parameter { color: #94BFF3; }
10.builtin { color: #DD6718; }
11.text { color: #DCDCCC; } 10.text { color: #DCDCCC; }
12.type { color: #7CB8BB; } 11.type { color: #7CB8BB; }
12.type\.builtin { color: #8CD0D3; }
13.type\.param { color: #20999D; } 13.type\.param { color: #20999D; }
14.attribute { color: #94BFF3; } 14.attribute { color: #94BFF3; }
15.literal { color: #BFEBBF; } 15.literal { color: #BFEBBF; }
diff --git a/crates/ra_ide/src/snapshots/rainbow_highlighting.html b/crates/ra_ide/src/snapshots/rainbow_highlighting.html
index ecf26c708..871a52cf6 100644
--- a/crates/ra_ide/src/snapshots/rainbow_highlighting.html
+++ b/crates/ra_ide/src/snapshots/rainbow_highlighting.html
@@ -7,9 +7,9 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
7.string { color: #CC9393; } 7.string { color: #CC9393; }
8.function { color: #93E0E3; } 8.function { color: #93E0E3; }
9.parameter { color: #94BFF3; } 9.parameter { color: #94BFF3; }
10.builtin { color: #DD6718; }
11.text { color: #DCDCCC; } 10.text { color: #DCDCCC; }
12.type { color: #7CB8BB; } 11.type { color: #7CB8BB; }
12.type\.builtin { color: #8CD0D3; }
13.type\.param { color: #20999D; } 13.type\.param { color: #20999D; }
14.attribute { color: #94BFF3; } 14.attribute { color: #94BFF3; }
15.literal { color: #BFEBBF; } 15.literal { color: #BFEBBF; }
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index eb3dd1779..15e75709c 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -284,9 +284,9 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
284.string { color: #CC9393; } 284.string { color: #CC9393; }
285.function { color: #93E0E3; } 285.function { color: #93E0E3; }
286.parameter { color: #94BFF3; } 286.parameter { color: #94BFF3; }
287.builtin { color: #DD6718; }
288.text { color: #DCDCCC; } 287.text { color: #DCDCCC; }
289.type { color: #7CB8BB; } 288.type { color: #7CB8BB; }
289.type\\.builtin { color: #8CD0D3; }
290.type\\.param { color: #20999D; } 290.type\\.param { color: #20999D; }
291.attribute { color: #94BFF3; } 291.attribute { color: #94BFF3; }
292.literal { color: #BFEBBF; } 292.literal { color: #BFEBBF; }
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts
index d7c0ae131..e1b0d13e7 100644
--- a/editors/code/src/highlighting.ts
+++ b/editors/code/src/highlighting.ts
@@ -52,12 +52,12 @@ export class Highlighter {
52 decoration('function'), 52 decoration('function'),
53 decoration('parameter'), 53 decoration('parameter'),
54 decoration('constant'), 54 decoration('constant'),
55 decoration('type'), 55 decoration('type.builtin'),
56 decoration('type.self'),
57 decoration('type.generic'), 56 decoration('type.generic'),
58 decoration('type.param'),
59 decoration('type.lifetime'), 57 decoration('type.lifetime'),
60 decoration('builtin'), 58 decoration('type.param'),
59 decoration('type.self'),
60 decoration('type'),
61 decoration('text'), 61 decoration('text'),
62 decoration('attribute'), 62 decoration('attribute'),
63 decoration('literal'), 63 decoration('literal'),