diff options
author | Lukas Wirth <[email protected]> | 2021-01-24 00:32:52 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-01-24 00:32:52 +0000 |
commit | a872ebf81f20815501299ae562c39bb9c872ba47 (patch) | |
tree | ab1e96340ba6717daec0bd0d3051230463c2916f /crates/ide/src | |
parent | 89fef5307e81d5d23bb65677000f35332190661a (diff) |
Support unions in symbol search
Diffstat (limited to 'crates/ide/src')
-rw-r--r-- | crates/ide/src/display/navigation_target.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide/src/display/navigation_target.rs b/crates/ide/src/display/navigation_target.rs index 16fa828ad..f178dd744 100644 --- a/crates/ide/src/display/navigation_target.rs +++ b/crates/ide/src/display/navigation_target.rs | |||
@@ -173,6 +173,7 @@ impl ToNav for FileSymbol { | |||
173 | FileSymbolKind::Const => SymbolKind::Const, | 173 | FileSymbolKind::Const => SymbolKind::Const, |
174 | FileSymbolKind::Static => SymbolKind::Static, | 174 | FileSymbolKind::Static => SymbolKind::Static, |
175 | FileSymbolKind::Macro => SymbolKind::Macro, | 175 | FileSymbolKind::Macro => SymbolKind::Macro, |
176 | FileSymbolKind::Union => SymbolKind::Union, | ||
176 | }), | 177 | }), |
177 | full_range: self.range, | 178 | full_range: self.range, |
178 | focus_range: self.name_range, | 179 | focus_range: self.name_range, |