summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Kuntawar <2002.tushar.kuntawar@gmail.com>2022-09-30 22:59:25 +0530
committerGitHub <noreply@github.com>2022-09-30 19:29:25 +0200
commit76ea9a898d3307244dce3573392dcf2cc38f340f (patch)
treef4523c9a72b49246fa414e8ea13ebe781d010884
parenta09df82861944aab86c74648b1a570ff8ff73f82 (diff)
works with register name and content (#2178)
-rw-r--r--lua/telescope/make_entry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua
index 6334bc5..06b469a 100644
--- a/lua/telescope/make_entry.lua
+++ b/lua/telescope/make_entry.lua
@@ -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)