Skip to content

Commit

Permalink
works with register name and content (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
tusqasi authored Sep 30, 2022
1 parent a09df82 commit 76ea9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/make_entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 76ea9a8

Please sign in to comment.