diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-19 14:19:13 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-19 14:19:13 +0000 |
commit | e9440f598d7ad3758594d4c5ab44f467395170c5 (patch) | |
tree | a00820d0b682f01f2f01d21040a577aedb53105d /crates/ide/src/syntax_highlighting/injection.rs | |
parent | 067d22b61bc15e60d91677e2528f3fbdfafad877 (diff) | |
parent | 113688cef0e98c91e803d94e4b3ab90682cc8a1d (diff) |
Merge #6949
6949: Clarify the meaning of no-op highlight tag r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
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 | } |