feat(builtin.oldfiles): support file location opening (#2863)
This commit is contained in:
@@ -560,12 +560,13 @@ internal.oldfiles = function(opts)
|
|||||||
pickers
|
pickers
|
||||||
.new(opts, {
|
.new(opts, {
|
||||||
prompt_title = "Oldfiles",
|
prompt_title = "Oldfiles",
|
||||||
|
__locations_input = true,
|
||||||
finder = finders.new_table {
|
finder = finders.new_table {
|
||||||
results = results,
|
results = results,
|
||||||
entry_maker = opts.entry_maker or make_entry.gen_from_file(opts),
|
entry_maker = opts.entry_maker or make_entry.gen_from_file(opts),
|
||||||
},
|
},
|
||||||
sorter = conf.file_sorter(opts),
|
sorter = conf.file_sorter(opts),
|
||||||
previewer = conf.file_previewer(opts),
|
previewer = conf.grep_previewer(opts),
|
||||||
})
|
})
|
||||||
:find()
|
:find()
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user