aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting/tags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting/tags.rs')
-rw-r--r--crates/ra_ide/src/syntax_highlighting/tags.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tags.rs b/crates/ra_ide/src/syntax_highlighting/tags.rs
index 33e6619ec..09652a5b1 100644
--- a/crates/ra_ide/src/syntax_highlighting/tags.rs
+++ b/crates/ra_ide/src/syntax_highlighting/tags.rs
@@ -15,6 +15,7 @@ pub struct HighlightModifiers(u32);
15#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] 15#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
16pub enum HighlightTag { 16pub enum HighlightTag {
17 Attribute, 17 Attribute,
18 BoolLiteral,
18 BuiltinType, 19 BuiltinType,
19 ByteLiteral, 20 ByteLiteral,
20 CharLiteral, 21 CharLiteral,
@@ -60,6 +61,7 @@ impl HighlightTag {
60 fn as_str(self) -> &'static str { 61 fn as_str(self) -> &'static str {
61 match self { 62 match self {
62 HighlightTag::Attribute => "attribute", 63 HighlightTag::Attribute => "attribute",
64 HighlightTag::BoolLiteral => "bool_literal",
63 HighlightTag::BuiltinType => "builtin_type", 65 HighlightTag::BuiltinType => "builtin_type",
64 HighlightTag::ByteLiteral => "byte_literal", 66 HighlightTag::ByteLiteral => "byte_literal",
65 HighlightTag::CharLiteral => "char_literal", 67 HighlightTag::CharLiteral => "char_literal",