Skip to content

Commit b330b61

Browse files
committed
feat: make fuzzy secondary min_score more lenient
1 parent 05229dd commit b330b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/blink/cmp/fuzzy/fuzzy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub fn fuzzy(
7272

7373
// Find the highest score and filter out matches that are unreasonably lower than it
7474
let max_score = matches.iter().map(|mtch| mtch.score).max().unwrap_or(0);
75-
let secondary_min_score = max_score.max(4) - 4;
75+
let secondary_min_score = max_score.max(16) - 16;
7676
matches = matches
7777
.into_iter()
7878
.filter(|mtch| mtch.score >= secondary_min_score)

0 commit comments

Comments
 (0)