fix(sorters): add highlighter to fuzzy_with_index_bias (#2134)

This commit is contained in:
Munif Tanjim
2022-08-26 17:50:58 +06:00
committed by GitHub
parent 3e944f02ff
commit 454823222d

View File

@@ -430,6 +430,7 @@ sorters.fuzzy_with_index_bias = function(opts)
return math.min(math.pow(entry.index, 0.25), 2) * base_score return math.min(math.pow(entry.index, 0.25), 2) * base_score
end end
end, end,
highlighter = fuzzy_sorter.highlighter,
} }
end end