Add more colour (#346)
* add colour to buffers finder * new display function for LSP workspace/doc symbols * add more hl_groups and opts paramter * use make_display() for man_pages finder. * use make_display for registers finder and add color * don't use quickfix make_entry() for builtin finder * make_entry() for builtin finder * remove debug output * revert change to internal.builtin finder * fix_spacing
This commit is contained in:
@@ -33,17 +33,15 @@ internal.builtin = function(opts)
|
||||
pickers.new(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
|
||||
},
|
||||
results = objs,
|
||||
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(_)
|
||||
|
||||
Reference in New Issue
Block a user