diff options
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting/tags.rs')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tags.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tags.rs b/crates/ra_ide/src/syntax_highlighting/tags.rs index 94f466966..f593ecad8 100644 --- a/crates/ra_ide/src/syntax_highlighting/tags.rs +++ b/crates/ra_ide/src/syntax_highlighting/tags.rs | |||
@@ -55,6 +55,7 @@ pub enum HighlightModifier { | |||
55 | /// `foo` in `fn foo(x: i32)` is a definition, `foo` in `foo(90 + 2)` is | 55 | /// `foo` in `fn foo(x: i32)` is a definition, `foo` in `foo(90 + 2)` is |
56 | /// not. | 56 | /// not. |
57 | Definition, | 57 | Definition, |
58 | Documentation, | ||
58 | Mutable, | 59 | Mutable, |
59 | Unsafe, | 60 | Unsafe, |
60 | } | 61 | } |
@@ -106,6 +107,7 @@ impl HighlightModifier { | |||
106 | HighlightModifier::Attribute, | 107 | HighlightModifier::Attribute, |
107 | HighlightModifier::ControlFlow, | 108 | HighlightModifier::ControlFlow, |
108 | HighlightModifier::Definition, | 109 | HighlightModifier::Definition, |
110 | HighlightModifier::Documentation, | ||
109 | HighlightModifier::Mutable, | 111 | HighlightModifier::Mutable, |
110 | HighlightModifier::Unsafe, | 112 | HighlightModifier::Unsafe, |
111 | ]; | 113 | ]; |
@@ -115,6 +117,7 @@ impl HighlightModifier { | |||
115 | HighlightModifier::Attribute => "attribute", | 117 | HighlightModifier::Attribute => "attribute", |
116 | HighlightModifier::ControlFlow => "control", | 118 | HighlightModifier::ControlFlow => "control", |
117 | HighlightModifier::Definition => "declaration", | 119 | HighlightModifier::Definition => "declaration", |
120 | HighlightModifier::Documentation => "documentation", | ||
118 | HighlightModifier::Mutable => "mutable", | 121 | HighlightModifier::Mutable => "mutable", |
119 | HighlightModifier::Unsafe => "unsafe", | 122 | HighlightModifier::Unsafe => "unsafe", |
120 | } | 123 | } |