Support unions in symbol search

This commit is contained in:
Lukas Wirth 2021-01-24 01:32:52 +01:00
parent 89fef5307e
commit a872ebf81f
3 changed files with 13 additions and 9 deletions

View file

@ -173,6 +173,7 @@ impl ToNav for FileSymbol {
FileSymbolKind::Const => SymbolKind::Const,
FileSymbolKind::Static => SymbolKind::Static,
FileSymbolKind::Macro => SymbolKind::Macro,
FileSymbolKind::Union => SymbolKind::Union,
}),
full_range: self.range,
focus_range: self.name_range,