From 2488e31df8ff13cb3c008f846a137bf39287f048 Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Sat, 19 Dec 2020 21:13:05 +0100 Subject: Feat: displayer hl_chars and TelescopeResults hlgroups (#349) --- lua/telescope/builtin/internal.lua | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'lua/telescope/builtin/internal.lua') diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua index 4557bd2..12c158e 100644 --- a/lua/telescope/builtin/internal.lua +++ b/lua/telescope/builtin/internal.lua @@ -34,14 +34,16 @@ internal.builtin = function(opts) prompt_title = 'Telescope Builtin', finder = finders.new_table { results = objs, - entry_maker = function(entry)return { - value = entry, - text = entry.text, - display = entry.text, - ordinal = entry.text, - filename = entry.filename - }end - }, + entry_maker = function(entry) + return { + value = entry, + text = entry.text, + display = entry.text, + ordinal = entry.text, + filename = entry.filename + } + end + }, previewer = previewers.builtin.new(opts), sorter = conf.generic_sorter(opts), attach_mappings = function(_) -- cgit v1.2.3