diff options
author | Paul Daniel Faria <[email protected]> | 2020-06-23 14:17:53 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-06-23 17:13:50 +0100 |
commit | 2a56323537442958008d0fddd78e33df425b11a9 (patch) | |
tree | ee3a7043c21df2aab8be6b7bb2ab83dd6fe4b84f /crates/ra_ide/src/syntax_highlighting/tags.rs | |
parent | d8230acd84dc931f72b9dd32b8fbc2aa887d8b4b (diff) |
Update injection mechanism and stop injecting through highlight element, switch to more general new highlight tag, generic
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting/tags.rs')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tags.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tags.rs b/crates/ra_ide/src/syntax_highlighting/tags.rs index 7f8e91e8d..e8e251cfc 100644 --- a/crates/ra_ide/src/syntax_highlighting/tags.rs +++ b/crates/ra_ide/src/syntax_highlighting/tags.rs | |||
@@ -27,13 +27,13 @@ pub enum HighlightTag { | |||
27 | Field, | 27 | Field, |
28 | FormatSpecifier, | 28 | FormatSpecifier, |
29 | Function, | 29 | Function, |
30 | Generic, | ||
30 | Keyword, | 31 | Keyword, |
31 | Lifetime, | 32 | Lifetime, |
32 | Macro, | 33 | Macro, |
33 | Module, | 34 | Module, |
34 | NumericLiteral, | 35 | NumericLiteral, |
35 | Operator, | 36 | Operator, |
36 | Punctuation, | ||
37 | SelfKeyword, | 37 | SelfKeyword, |
38 | SelfType, | 38 | SelfType, |
39 | Static, | 39 | Static, |
@@ -79,13 +79,13 @@ impl HighlightTag { | |||
79 | HighlightTag::Field => "field", | 79 | HighlightTag::Field => "field", |
80 | HighlightTag::FormatSpecifier => "format_specifier", | 80 | HighlightTag::FormatSpecifier => "format_specifier", |
81 | HighlightTag::Function => "function", | 81 | HighlightTag::Function => "function", |
82 | HighlightTag::Generic => "generic", | ||
82 | HighlightTag::Keyword => "keyword", | 83 | HighlightTag::Keyword => "keyword", |
83 | HighlightTag::Lifetime => "lifetime", | 84 | HighlightTag::Lifetime => "lifetime", |
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", |
87 | HighlightTag::Operator => "operator", | 88 | HighlightTag::Operator => "operator", |
88 | HighlightTag::Punctuation => "punctuation", | ||
89 | HighlightTag::SelfKeyword => "self_keyword", | 89 | HighlightTag::SelfKeyword => "self_keyword", |
90 | HighlightTag::SelfType => "self_type", | 90 | HighlightTag::SelfType => "self_type", |
91 | HighlightTag::Static => "static", | 91 | HighlightTag::Static => "static", |