This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(search): correctly handle select:symbol.enum (#64170)
To implement `select:symbol.enum` filters, we look at each symbol's ctags 'kind' and check if it matches the filter value `enum`. We accidentally didn't include 'enum' in this match logic, so all these symbols were filtered away. This PR fixes that, and adds a few improvements: * Use a shared map between `symbol.LSPKind` and `symbol.SelectKind`, to avoid drift between these two conversions. * Audit the ctags mapping from [sourcegraph/zoekt#674](sourcegraph/zoekt#674) and add other missing kinds (besides enum) Closes SPLF-178
- Loading branch information
1 parent
d17660d
commit f4a07a8
Showing
3 changed files
with
111 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters