feat(pickers): fully customizable layout (#2572)
This commit is contained in:
@@ -75,12 +75,12 @@ action_generate.refine = function(prompt_bufnr, opts)
|
||||
end
|
||||
|
||||
-- title
|
||||
if opts.prompt_title and current_picker.prompt_border then
|
||||
current_picker.prompt_border:change_title(opts.prompt_title)
|
||||
if opts.prompt_title and current_picker.layout.prompt.border then
|
||||
current_picker.layout.prompt.border:change_title(opts.prompt_title)
|
||||
end
|
||||
|
||||
if opts.results_title and current_picker.results_border then
|
||||
current_picker.results_border:change_title(opts.results_title)
|
||||
if opts.results_title and current_picker.layout.results.border then
|
||||
current_picker.layout.results.border:change_title(opts.results_title)
|
||||
end
|
||||
|
||||
local results = {}
|
||||
|
||||
Reference in New Issue
Block a user