aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/html.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-06-15 20:44:07 +0100
committerLukas Wirth <[email protected]>2021-06-15 20:49:59 +0100
commit29054e02fbc7a858d9d4a6efd61583ac45b3213b (patch)
tree87d55a0ef8df2c6263722ea3899c4e45c11173db /crates/ide/src/syntax_highlighting/html.rs
parent7f482afada7519e828b8dbe8fafe063885256516 (diff)
Highlight unsafe trait refs as unsafe only in impl blocks and definitions
Diffstat (limited to 'crates/ide/src/syntax_highlighting/html.rs')
-rw-r--r--crates/ide/src/syntax_highlighting/html.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/html.rs b/crates/ide/src/syntax_highlighting/html.rs
index 478facfee..21376a7ae 100644
--- a/crates/ide/src/syntax_highlighting/html.rs
+++ b/crates/ide/src/syntax_highlighting/html.rs
@@ -67,6 +67,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
67.field { color: #94BFF3; } 67.field { color: #94BFF3; }
68.function { color: #93E0E3; } 68.function { color: #93E0E3; }
69.function.unsafe { color: #BC8383; } 69.function.unsafe { color: #BC8383; }
70.trait.unsafe { color: #BC8383; }
70.operator.unsafe { color: #BC8383; } 71.operator.unsafe { color: #BC8383; }
71.parameter { color: #94BFF3; } 72.parameter { color: #94BFF3; }
72.text { color: #DCDCCC; } 73.text { color: #DCDCCC; }