diff options
author | Paul Daniel Faria <[email protected]> | 2020-06-02 23:58:42 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-06-27 15:16:19 +0100 |
commit | 2ca52bbb325d4842d9642fc5f9e368b590c4ce41 (patch) | |
tree | d123db8fa4c040deb3696d72a11d8e441dc902be /crates/ra_ide/src/syntax_highlighting/tags.rs | |
parent | 2fc92fa28cda858c25fea2e378c2eb73e7f65247 (diff) |
Revert ide highlighting changes (addressing on another branch)
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting/tags.rs')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tags.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tags.rs b/crates/ra_ide/src/syntax_highlighting/tags.rs index e8e251cfc..b9bea4729 100644 --- a/crates/ra_ide/src/syntax_highlighting/tags.rs +++ b/crates/ra_ide/src/syntax_highlighting/tags.rs | |||
@@ -25,7 +25,6 @@ pub enum HighlightTag { | |||
25 | EnumVariant, | 25 | EnumVariant, |
26 | EscapeSequence, | 26 | EscapeSequence, |
27 | Field, | 27 | Field, |
28 | FormatSpecifier, | ||
29 | Function, | 28 | Function, |
30 | Generic, | 29 | Generic, |
31 | Keyword, | 30 | Keyword, |
@@ -33,7 +32,6 @@ pub enum HighlightTag { | |||
33 | Macro, | 32 | Macro, |
34 | Module, | 33 | Module, |
35 | NumericLiteral, | 34 | NumericLiteral, |
36 | Operator, | ||
37 | SelfKeyword, | 35 | SelfKeyword, |
38 | SelfType, | 36 | SelfType, |
39 | Static, | 37 | Static, |
@@ -45,6 +43,8 @@ pub enum HighlightTag { | |||
45 | Union, | 43 | Union, |
46 | Local, | 44 | Local, |
47 | UnresolvedReference, | 45 | UnresolvedReference, |
46 | FormatSpecifier, | ||
47 | Operator, | ||
48 | } | 48 | } |
49 | 49 | ||
50 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] | 50 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] |
@@ -77,7 +77,6 @@ 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", | ||
81 | HighlightTag::Function => "function", | 80 | HighlightTag::Function => "function", |
82 | HighlightTag::Generic => "generic", | 81 | HighlightTag::Generic => "generic", |
83 | HighlightTag::Keyword => "keyword", | 82 | HighlightTag::Keyword => "keyword", |
@@ -85,7 +84,6 @@ impl HighlightTag { | |||
85 | HighlightTag::Macro => "macro", | 84 | HighlightTag::Macro => "macro", |
86 | HighlightTag::Module => "module", | 85 | HighlightTag::Module => "module", |
87 | HighlightTag::NumericLiteral => "numeric_literal", | 86 | HighlightTag::NumericLiteral => "numeric_literal", |
88 | HighlightTag::Operator => "operator", | ||
89 | HighlightTag::SelfKeyword => "self_keyword", | 87 | HighlightTag::SelfKeyword => "self_keyword", |
90 | HighlightTag::SelfType => "self_type", | 88 | HighlightTag::SelfType => "self_type", |
91 | HighlightTag::Static => "static", | 89 | HighlightTag::Static => "static", |
@@ -97,6 +95,8 @@ impl HighlightTag { | |||
97 | HighlightTag::Union => "union", | 95 | HighlightTag::Union => "union", |
98 | HighlightTag::Local => "variable", | 96 | HighlightTag::Local => "variable", |
99 | HighlightTag::UnresolvedReference => "unresolved_reference", | 97 | HighlightTag::UnresolvedReference => "unresolved_reference", |
98 | HighlightTag::FormatSpecifier => "format_specifier", | ||
99 | HighlightTag::Operator => "operator", | ||
100 | } | 100 | } |
101 | } | 101 | } |
102 | } | 102 | } |