diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-28 14:04:46 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-28 14:04:46 +0000 |
commit | 9ef6359950fa2f3ecb9a7d4120f01e4baeaad978 (patch) | |
tree | b3edc1e63af556f2ff0906a8219262814e10c90f /crates/ra_ide/src | |
parent | 2995fd2c87bba98d4cb7957a182a58bee68d86ba (diff) | |
parent | da401495722ca43b60834399208e822dbbadd06d (diff) |
Merge #3364
3364: Fix union classification r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs index 30ca9d8b0..c0f7c1c9f 100644 --- a/crates/ra_ide/src/syntax_highlighting.rs +++ b/crates/ra_ide/src/syntax_highlighting.rs | |||
@@ -292,7 +292,7 @@ fn highlight_name_by_syntax(name: ast::Name) -> Highlight { | |||
292 | match parent.kind() { | 292 | match parent.kind() { |
293 | STRUCT_DEF => HighlightTag::Struct.into(), | 293 | STRUCT_DEF => HighlightTag::Struct.into(), |
294 | ENUM_DEF => HighlightTag::Enum.into(), | 294 | ENUM_DEF => HighlightTag::Enum.into(), |
295 | UNION_KW => HighlightTag::Union.into(), | 295 | UNION_DEF => HighlightTag::Union.into(), |
296 | TRAIT_DEF => HighlightTag::Trait.into(), | 296 | TRAIT_DEF => HighlightTag::Trait.into(), |
297 | TYPE_ALIAS_DEF => HighlightTag::TypeAlias.into(), | 297 | TYPE_ALIAS_DEF => HighlightTag::TypeAlias.into(), |
298 | TYPE_PARAM => HighlightTag::TypeParam.into(), | 298 | TYPE_PARAM => HighlightTag::TypeParam.into(), |