Skip to content

Commit 57affe6

Browse files
committed
docs(fuzzy): sorts as function returning table
1 parent cdb8926 commit 57affe6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/configuration/reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ fuzzy = {
426426

427427
-- Controls which sorts to use and in which order, falling back to the next sort if the first one returns nil
428428
-- You may pass a function instead of a string to customize the sorting
429+
-- optionally, set the table of sorts via a function as well: sorts = function() return { 'exact', 'score', 'sort_text' } end
429430
sorts = {
430431
-- (optionally) always prioritize exact matches
431432
-- 'exact',

0 commit comments

Comments
 (0)