fix: file fuzzy search (#2409)

This commit is contained in:
Aiden Cline
2025-09-03 23:20:16 -05:00
committed by GitHub
parent d13467d869
commit a97612287f

View File

@@ -94,7 +94,7 @@ func (c *completionDialogComponent) getAllCompletions(query string) tea.Cmd {
}
// If there's a query, fuzzy-rank within each provider, then concatenate by provider order
if query != "" && providersWithResults > 0 {
if query != "" && providersWithResults > 1 {
t := theme.CurrentTheme()
baseStyle := styles.NewStyle().Background(t.BackgroundElement())