feat: Add selection strategies

This commit is contained in:
TJ DeVries
2020-08-30 00:44:04 -04:00
parent 7c921b288f
commit 2fba02803c
2 changed files with 42 additions and 10 deletions

View File

@@ -36,6 +36,8 @@ builtin.git_files = function(opts)
local file_picker = pickers.new {
previewer = show_preview and file_previewer,
selection_strategy = opts.selection_strategy,
}
-- local file_sorter = telescope.sorters.get_ngram_sorter()