mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-05-30 01:38:32 +00:00
fix: builtin register picker better sorting (#2175)
This commit is contained in:
@@ -792,10 +792,11 @@ function make_entry.gen_from_registers(opts)
|
||||
end
|
||||
|
||||
return function(entry)
|
||||
local contents = vim.fn.getreg(entry)
|
||||
return make_entry.set_default_entry_mt({
|
||||
value = entry,
|
||||
ordinal = entry,
|
||||
content = vim.fn.getreg(entry),
|
||||
ordinal = contents,
|
||||
content = contents,
|
||||
display = make_display,
|
||||
}, opts)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user