aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/snapshots/highlighting.html
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-17 16:08:17 +0100
committerGitHub <[email protected]>2020-06-17 16:08:17 +0100
commitf061b2daeb8639b5d24db8d73fa1e21d18196aa4 (patch)
tree2b1931cadd7400a09e6d10f0cb9ae4cc6646e93d /crates/ra_ide/src/snapshots/highlighting.html
parent931f3173992df6ac6b728fa9fa9a94d15781027e (diff)
parent2145e2d878fb3b8ffcaa4ab0858cab3a7a4324e0 (diff)
Merge #4925
4925: Syntax highlighting for escape sequences in strings r=matklad a=ltentrup I have added a new semantic token type `ESCAPE_SEQUENCE` as the LSP specification does not seem to have an appropriate token type. This may actually be a regression for some users, as the TextMate Rust grammar has a scope `constant.character.escape.rust` which highlights escape sequences (which caused problems with semantic highlighting, see #4138). Fixes #2604. Co-authored-by: Leander Tentrup <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/snapshots/highlighting.html')
-rw-r--r--crates/ra_ide/src/snapshots/highlighting.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide/src/snapshots/highlighting.html b/crates/ra_ide/src/snapshots/highlighting.html
index 52912dc93..0c4f0a018 100644
--- a/crates/ra_ide/src/snapshots/highlighting.html
+++ b/crates/ra_ide/src/snapshots/highlighting.html
@@ -26,6 +26,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
26.format_specifier { color: #CC696B; } 26.format_specifier { color: #CC696B; }
27.mutable { text-decoration: underline; } 27.mutable { text-decoration: underline; }
28.unresolved_reference { color: #FC5555; } 28.unresolved_reference { color: #FC5555; }
29.escape_sequence { color: #94BFF3; }
29 30
30.keyword { color: #F0DFAF; font-weight: bold; } 31.keyword { color: #F0DFAF; font-weight: bold; }
31.keyword.unsafe { color: #BC8383; font-weight: bold; } 32.keyword.unsafe { color: #BC8383; font-weight: bold; }