Skip to content

Commit

Permalink
feat(builtin.oldfiles): support file location opening (nvim-telescope…
Browse files Browse the repository at this point in the history
  • Loading branch information
arnevm123 authored Jan 12, 2024
1 parent d8129bf commit da8b3d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/telescope/builtin/__internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -560,12 +560,13 @@ internal.oldfiles = function(opts)
pickers
.new(opts, {
prompt_title = "Oldfiles",
__locations_input = true,
finder = finders.new_table {
results = results,
entry_maker = opts.entry_maker or make_entry.gen_from_file(opts),
},
sorter = conf.file_sorter(opts),
previewer = conf.file_previewer(opts),
previewer = conf.grep_previewer(opts),
})
:find()
end
Expand Down

0 comments on commit da8b3d4

Please sign in to comment.