diff options
| author | Tushar Kuntawar <2002.tushar.kuntawar@gmail.com> | 2022-09-30 22:59:25 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-30 19:29:25 +0200 |
| commit | 76ea9a898d3307244dce3573392dcf2cc38f340f (patch) | |
| tree | f4523c9a72b49246fa414e8ea13ebe781d010884 /lua | |
| parent | a09df82861944aab86c74648b1a570ff8ff73f82 (diff) | |
works with register name and content (#2178)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/make_entry.lua | 2 |
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) |
