summaryrefslogtreecommitdiff
path: root/lua/telescope/builtin/internal.lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2020-12-19 21:13:05 +0100
committerGitHub <noreply@github.com>2020-12-19 21:13:05 +0100
commit2488e31df8ff13cb3c008f846a137bf39287f048 (patch)
tree8a936ba14175dd5f979387fae01697bbfc627c98 /lua/telescope/builtin/internal.lua
parent084a30b8fa40278e1dce8ee304a1a793c530ee3f (diff)
Feat: displayer hl_chars and TelescopeResults hlgroups (#349)
Diffstat (limited to 'lua/telescope/builtin/internal.lua')
-rw-r--r--lua/telescope/builtin/internal.lua18
1 files changed, 10 insertions, 8 deletions
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(_)