From 454823222db1d4166042c43c387723a4d8ebdce9 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Fri, 26 Aug 2022 17:50:58 +0600 Subject: [PATCH] fix(sorters): add highlighter to fuzzy_with_index_bias (#2134) --- lua/telescope/sorters.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/telescope/sorters.lua b/lua/telescope/sorters.lua index 1ad9deb..6817c97 100644 --- a/lua/telescope/sorters.lua +++ b/lua/telescope/sorters.lua @@ -430,6 +430,7 @@ sorters.fuzzy_with_index_bias = function(opts) return math.min(math.pow(entry.index, 0.25), 2) * base_score end end, + highlighter = fuzzy_sorter.highlighter, } end