improve mbox telescope picker sorter

This commit is contained in:
Clément DOUIN
2021-04-24 23:45:21 +02:00
parent 17df485e19
commit f1e339d720
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ M.mbox_picker = function(mboxes)
pickers.new {
results_title = 'Mailboxes',
finder = finders.new_table(finder_opts),
sorter = sorters.fuzzy_with_index_bias(),
sorter = sorters.get_generic_fuzzy_sorter(),
attach_mappings = function(prompt_bufnr)
actions.select_default:replace(function()
local selection = action_state.get_selected_entry()