diff options
| author | Munif Tanjim <hello@muniftanjim.dev> | 2022-08-26 17:50:58 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-26 13:50:58 +0200 |
| commit | 454823222db1d4166042c43c387723a4d8ebdce9 (patch) | |
| tree | bdbf482658474f180abe0b5e064803511adb7ab3 /lua/telescope/sorters.lua | |
| parent | 3e944f02ff8040056b44f6a9aed48842317b33ac (diff) | |
fix(sorters): add highlighter to fuzzy_with_index_bias (#2134)
Diffstat (limited to 'lua/telescope/sorters.lua')
| -rw-r--r-- | lua/telescope/sorters.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
