diff options
author | Aleksey Kladov <[email protected]> | 2020-12-19 14:16:05 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-19 14:16:05 +0000 |
commit | 113688cef0e98c91e803d94e4b3ab90682cc8a1d (patch) | |
tree | a00820d0b682f01f2f01d21040a577aedb53105d /crates/ide/src/syntax_highlighting/injection.rs | |
parent | a13947abe62a44c4ffa802be54e041a3d18e7f2b (diff) |
Clarify the meaning of no-op highlight tag
Diffstat (limited to 'crates/ide/src/syntax_highlighting/injection.rs')
-rw-r--r-- | crates/ide/src/syntax_highlighting/injection.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ide/src/syntax_highlighting/injection.rs b/crates/ide/src/syntax_highlighting/injection.rs index e97d1be1a..9eb184c74 100644 --- a/crates/ide/src/syntax_highlighting/injection.rs +++ b/crates/ide/src/syntax_highlighting/injection.rs | |||
@@ -179,6 +179,5 @@ pub(super) fn highlight_doc_comment( | |||
179 | stack.add(comment); | 179 | stack.add(comment); |
180 | } | 180 | } |
181 | stack.pop_and_inject(None); | 181 | stack.pop_and_inject(None); |
182 | stack | 182 | stack.pop_and_inject(Some(Highlight::from(HighlightTag::Dummy) | HighlightModifier::Injected)); |
183 | .pop_and_inject(Some(Highlight::from(HighlightTag::Generic) | HighlightModifier::Injected)); | ||
184 | } | 183 | } |