From 76ea9a898d3307244dce3573392dcf2cc38f340f Mon Sep 17 00:00:00 2001 From: Tushar Kuntawar <2002.tushar.kuntawar@gmail.com> Date: Fri, 30 Sep 2022 22:59:25 +0530 Subject: [PATCH] works with register name and content (#2178) --- lua/telescope/make_entry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)