aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r--crates/ra_ide_api/src/snapshots/highlighting.html13
-rw-r--r--crates/ra_ide_api/src/snapshots/rainbow_highlighting.html13
-rw-r--r--crates/ra_ide_api/src/syntax_highlighting.rs13
3 files changed, 21 insertions, 18 deletions
diff --git a/crates/ra_ide_api/src/snapshots/highlighting.html b/crates/ra_ide_api/src/snapshots/highlighting.html
index 709816d0d..af7b4a0d0 100644
--- a/crates/ra_ide_api/src/snapshots/highlighting.html
+++ b/crates/ra_ide_api/src/snapshots/highlighting.html
@@ -9,14 +9,15 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
9.parameter { color: #94BFF3; } 9.parameter { color: #94BFF3; }
10.builtin { color: #DD6718; } 10.builtin { color: #DD6718; }
11.text { color: #DCDCCC; } 11.text { color: #DCDCCC; }
12.attribute { color: #BFEBBF; } 12.attribute { color: #94BFF3; }
13.literal { color: #DFAF8F; } 13.literal { color: #BFEBBF; }
14.macro { color: #DFAF8F; } 14.macro { color: #94BFF3; }
15.variable\.mut { color: #DFAF8F; } 15.variable { color: #DCDCCC; }
16.variable\.mut { color: #DCDCCC; text-decoration: underline; }
16 17
17.keyword { color: #F0DFAF; } 18.keyword { color: #F0DFAF; }
18.keyword\.unsafe { color: #F0DFAF; font-weight: bold; } 19.keyword\.unsafe { color: #DFAF8F; }
19.keyword\.control { color: #DC8CC3; } 20.keyword\.control { color: #F0DFAF; font-weight: bold; }
20</style> 21</style>
21<pre><code><span class="attribute">#</span><span class="attribute">[</span><span class="attribute">derive</span><span class="attribute">(</span><span class="attribute">Clone</span><span class="attribute">,</span><span class="attribute"> </span><span class="attribute">Debug</span><span class="attribute">)</span><span class="attribute">]</span> 22<pre><code><span class="attribute">#</span><span class="attribute">[</span><span class="attribute">derive</span><span class="attribute">(</span><span class="attribute">Clone</span><span class="attribute">,</span><span class="attribute"> </span><span class="attribute">Debug</span><span class="attribute">)</span><span class="attribute">]</span>
22<span class="keyword">struct</span> <span class="type">Foo</span> { 23<span class="keyword">struct</span> <span class="type">Foo</span> {
diff --git a/crates/ra_ide_api/src/snapshots/rainbow_highlighting.html b/crates/ra_ide_api/src/snapshots/rainbow_highlighting.html
index ad3935b5d..c625d47bf 100644
--- a/crates/ra_ide_api/src/snapshots/rainbow_highlighting.html
+++ b/crates/ra_ide_api/src/snapshots/rainbow_highlighting.html
@@ -9,14 +9,15 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
9.parameter { color: #94BFF3; } 9.parameter { color: #94BFF3; }
10.builtin { color: #DD6718; } 10.builtin { color: #DD6718; }
11.text { color: #DCDCCC; } 11.text { color: #DCDCCC; }
12.attribute { color: #BFEBBF; } 12.attribute { color: #94BFF3; }
13.literal { color: #DFAF8F; } 13.literal { color: #BFEBBF; }
14.macro { color: #DFAF8F; } 14.macro { color: #94BFF3; }
15.variable\.mut { color: #DFAF8F; } 15.variable { color: #DCDCCC; }
16.variable\.mut { color: #DCDCCC; text-decoration: underline; }
16 17
17.keyword { color: #F0DFAF; } 18.keyword { color: #F0DFAF; }
18.keyword\.unsafe { color: #F0DFAF; font-weight: bold; } 19.keyword\.unsafe { color: #DFAF8F; }
19.keyword\.control { color: #DC8CC3; } 20.keyword\.control { color: #F0DFAF; font-weight: bold; }
20</style> 21</style>
21<pre><code><span class="keyword">fn</span> <span class="function">main</span>() { 22<pre><code><span class="keyword">fn</span> <span class="function">main</span>() {
22 <span class="keyword">let</span> <span class="variable" data-binding-hash="3888301305669440875" style="color: hsl(242,59%,59%);">hello</span> = <span class="string">"hello"</span>; 23 <span class="keyword">let</span> <span class="variable" data-binding-hash="3888301305669440875" style="color: hsl(242,59%,59%);">hello</span> = <span class="string">"hello"</span>;
diff --git a/crates/ra_ide_api/src/syntax_highlighting.rs b/crates/ra_ide_api/src/syntax_highlighting.rs
index 020c73c32..eb392d5da 100644
--- a/crates/ra_ide_api/src/syntax_highlighting.rs
+++ b/crates/ra_ide_api/src/syntax_highlighting.rs
@@ -282,14 +282,15 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
282.parameter { color: #94BFF3; } 282.parameter { color: #94BFF3; }
283.builtin { color: #DD6718; } 283.builtin { color: #DD6718; }
284.text { color: #DCDCCC; } 284.text { color: #DCDCCC; }
285.attribute { color: #BFEBBF; } 285.attribute { color: #94BFF3; }
286.literal { color: #DFAF8F; } 286.literal { color: #BFEBBF; }
287.macro { color: #DFAF8F; } 287.macro { color: #94BFF3; }
288.variable\\.mut { color: #DFAF8F; } 288.variable { color: #DCDCCC; }
289.variable\\.mut { color: #DCDCCC; text-decoration: underline; }
289 290
290.keyword { color: #F0DFAF; } 291.keyword { color: #F0DFAF; }
291.keyword\\.unsafe { color: #F0DFAF; font-weight: bold; } 292.keyword\\.unsafe { color: #DFAF8F; }
292.keyword\\.control { color: #DC8CC3; } 293.keyword\\.control { color: #F0DFAF; font-weight: bold; }
293</style> 294</style>
294"; 295";
295 296