fix: use substr matcher to use sorting by scores (#94)

This commit is contained in:
JINNOUCHI Yasushi 2023-04-10 17:50:37 +09:00 committed by GitHub
parent e5696afabd
commit 09269b2b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,7 @@ local frecency = function(opts)
entry_maker = entry_maker,
},
previewer = require("telescope.config").values.file_previewer(opts),
sorter = require'telescope.sorters'.fuzzy_with_index_bias(opts),
sorter = require'telescope.sorters'.get_substr_matcher(opts),
})
state.picker:find()