diff options
author | Paul Daniel Faria <[email protected]> | 2020-06-27 16:20:02 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-06-27 16:38:34 +0100 |
commit | b1992b469cae689f7de01ea9031962735a409198 (patch) | |
tree | bd7cc9c0a70266ab3afac7a082bdd15a9c03fe68 /crates/ra_ide/src/syntax_highlighting | |
parent | 28bb8ed9cb0aa9f1efad252748ea189716355157 (diff) |
Remove unneeded code, filename from tests, fix rebasing issues
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/html.rs | 4 | ||||
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tags.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/html.rs b/crates/ra_ide/src/syntax_highlighting/html.rs index 3477610e5..0c74f7370 100644 --- a/crates/ra_ide/src/syntax_highlighting/html.rs +++ b/crates/ra_ide/src/syntax_highlighting/html.rs | |||
@@ -71,8 +71,8 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd | |||
71 | .string_literal { color: #CC9393; } | 71 | .string_literal { color: #CC9393; } |
72 | .field { color: #94BFF3; } | 72 | .field { color: #94BFF3; } |
73 | .function { color: #93E0E3; } | 73 | .function { color: #93E0E3; } |
74 | .function.unsafe { color: #E28C14; } | 74 | .function.unsafe { color: #BC8383; } |
75 | .operator.unsafe { color: #E28C14; } | 75 | .operator.unsafe { color: #BC8383; } |
76 | .parameter { color: #94BFF3; } | 76 | .parameter { color: #94BFF3; } |
77 | .text { color: #DCDCCC; } | 77 | .text { color: #DCDCCC; } |
78 | .type { color: #7CB8BB; } | 78 | .type { color: #7CB8BB; } |
diff --git a/crates/ra_ide/src/syntax_highlighting/tags.rs b/crates/ra_ide/src/syntax_highlighting/tags.rs index b9bea4729..13d9dd195 100644 --- a/crates/ra_ide/src/syntax_highlighting/tags.rs +++ b/crates/ra_ide/src/syntax_highlighting/tags.rs | |||
@@ -77,6 +77,7 @@ impl HighlightTag { | |||
77 | HighlightTag::EnumVariant => "enum_variant", | 77 | HighlightTag::EnumVariant => "enum_variant", |
78 | HighlightTag::EscapeSequence => "escape_sequence", | 78 | HighlightTag::EscapeSequence => "escape_sequence", |
79 | HighlightTag::Field => "field", | 79 | HighlightTag::Field => "field", |
80 | HighlightTag::FormatSpecifier => "format_specifier", | ||
80 | HighlightTag::Function => "function", | 81 | HighlightTag::Function => "function", |
81 | HighlightTag::Generic => "generic", | 82 | HighlightTag::Generic => "generic", |
82 | HighlightTag::Keyword => "keyword", | 83 | HighlightTag::Keyword => "keyword", |
@@ -84,6 +85,7 @@ impl HighlightTag { | |||
84 | HighlightTag::Macro => "macro", | 85 | HighlightTag::Macro => "macro", |
85 | HighlightTag::Module => "module", | 86 | HighlightTag::Module => "module", |
86 | HighlightTag::NumericLiteral => "numeric_literal", | 87 | HighlightTag::NumericLiteral => "numeric_literal", |
88 | HighlightTag::Operator => "operator", | ||
87 | HighlightTag::SelfKeyword => "self_keyword", | 89 | HighlightTag::SelfKeyword => "self_keyword", |
88 | HighlightTag::SelfType => "self_type", | 90 | HighlightTag::SelfType => "self_type", |
89 | HighlightTag::Static => "static", | 91 | HighlightTag::Static => "static", |
@@ -95,8 +97,6 @@ impl HighlightTag { | |||
95 | HighlightTag::Union => "union", | 97 | HighlightTag::Union => "union", |
96 | HighlightTag::Local => "variable", | 98 | HighlightTag::Local => "variable", |
97 | HighlightTag::UnresolvedReference => "unresolved_reference", | 99 | HighlightTag::UnresolvedReference => "unresolved_reference", |
98 | HighlightTag::FormatSpecifier => "format_specifier", | ||
99 | HighlightTag::Operator => "operator", | ||
100 | } | 100 | } |
101 | } | 101 | } |
102 | } | 102 | } |