feat(search): Add option to disable fuzzy search (#6510)

Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: Arya Gummadi <aryagummadi@google.com>
This commit is contained in:
Bryant Chandler
2025-08-21 23:31:39 -07:00
committed by GitHub
parent ef46d64ae5
commit 4ced997d63
7 changed files with 114 additions and 2 deletions
@@ -172,6 +172,8 @@ export function useAtCompletion(props: UseAtCompletionProps): void {
cacheTtl: 30, // 30 seconds
enableRecursiveFileSearch:
config?.getEnableRecursiveFileSearch() ?? true,
disableFuzzySearch:
config?.getFileFilteringDisableFuzzySearch() ?? false,
});
await searcher.initialize();
fileSearch.current = searcher;