diff options
Diffstat (limited to 'lua/telescope/make_entry.lua')
| -rw-r--r-- | lua/telescope/make_entry.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua index 7f2484b..6334bc5 100644 --- a/lua/telescope/make_entry.lua +++ b/lua/telescope/make_entry.lua @@ -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 |
