mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
works with register name and content (#2178)
(cherry picked from commit 76ea9a898d)
This commit is contained in:
committed by
Simon Hauser
parent
803dd704d1
commit
b206cef4fe
@@ -795,7 +795,7 @@ function make_entry.gen_from_registers(opts)
|
||||
local contents = vim.fn.getreg(entry)
|
||||
return make_entry.set_default_entry_mt({
|
||||
value = entry,
|
||||
ordinal = contents,
|
||||
ordinal = string.format("%s %s", entry, contents),
|
||||
content = contents,
|
||||
display = make_display,
|
||||
}, opts)
|
||||
|
||||
Reference in New Issue
Block a user