aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/test_data/highlight_injection.html
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-15 15:49:34 +0100
committerGitHub <[email protected]>2020-07-15 15:49:34 +0100
commit2a01fe7d99376053b97aba9105dc7d9cf0c0641d (patch)
treed5ce4f56e7f02d861a4cfc6731d93caa024d3698 /crates/ra_ide/test_data/highlight_injection.html
parent57652fc9d439de1315f78fb6aba34e834cb7f727 (diff)
parent119e71d9ea6448c49f597af3e0afefa6bf0f12ac (diff)
Merge #5348
5348: Highlight punctuation as `HighlightTag::Operator` r=matklad a=ltentrup Fixes #4620 Co-authored-by: Leander Tentrup <[email protected]>
Diffstat (limited to 'crates/ra_ide/test_data/highlight_injection.html')
-rw-r--r--crates/ra_ide/test_data/highlight_injection.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/crates/ra_ide/test_data/highlight_injection.html b/crates/ra_ide/test_data/highlight_injection.html
index e15234936..461cfc437 100644
--- a/crates/ra_ide/test_data/highlight_injection.html
+++ b/crates/ra_ide/test_data/highlight_injection.html
@@ -35,14 +35,14 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
35 35
36.unresolved_reference { color: #FC5555; text-decoration: wavy underline; } 36.unresolved_reference { color: #FC5555; text-decoration: wavy underline; }
37</style> 37</style>
38<pre><code><span class="keyword">fn</span> <span class="function declaration">fixture</span>(<span class="value_param declaration">ra_fixture</span>: &<span class="builtin_type">str</span>) {} 38<pre><code><span class="keyword">fn</span> <span class="function declaration">fixture</span><span class="punctuation">(</span><span class="value_param declaration">ra_fixture</span><span class="punctuation">:</span> <span class="punctuation">&</span><span class="builtin_type">str</span><span class="punctuation">)</span> <span class="punctuation">{</span><span class="punctuation">}</span>
39 39
40<span class="keyword">fn</span> <span class="function declaration">main</span>() { 40<span class="keyword">fn</span> <span class="function declaration">main</span><span class="punctuation">(</span><span class="punctuation">)</span> <span class="punctuation">{</span>
41 <span class="function">fixture</span>(<span class="string_literal">r#"</span> 41 <span class="function">fixture</span><span class="punctuation">(</span><span class="string_literal">r#"</span>
42 <span class="keyword">trait</span> <span class="trait declaration">Foo</span> { 42 <span class="keyword">trait</span> <span class="trait declaration">Foo</span> <span class="punctuation">{</span>
43 <span class="keyword">fn</span> <span class="function declaration">foo</span>() { 43 <span class="keyword">fn</span> <span class="function declaration">foo</span><span class="punctuation">(</span><span class="punctuation">)</span> <span class="punctuation">{</span>
44 <span class="macro">println!</span>(<span class="string_literal">"2 + 2 = {}"</span>, <span class="numeric_literal">4</span>); 44 <span class="macro">println!</span><span class="punctuation">(</span><span class="string_literal">"2 + 2 = {}"</span><span class="punctuation">,</span> <span class="numeric_literal">4</span><span class="punctuation">)</span><span class="punctuation">;</span>
45 } 45 <span class="punctuation">}</span>
46 }<span class="string_literal">"#</span> 46 <span class="punctuation">}</span><span class="string_literal">"#</span>
47 ); 47 <span class="punctuation">)</span><span class="punctuation">;</span>
48}</code></pre> \ No newline at end of file 48<span class="punctuation">}</span></code></pre> \ No newline at end of file