fix: generate.refine with border=false (#2223)

This commit is contained in:
Simon Hauser
2022-11-06 12:58:29 +01:00
committed by GitHub
parent 4bd4205028
commit 30826fcfb8

View File

@@ -75,11 +75,11 @@ action_generate.refine = function(prompt_bufnr, opts)
end end
-- title -- title
if opts.prompt_title then if opts.prompt_title and current_picker.prompt_border then
current_picker.prompt_border:change_title(opts.prompt_title) current_picker.prompt_border:change_title(opts.prompt_title)
end end
if opts.results_title then if opts.results_title and current_picker.results_border then
current_picker.results_border:change_title(opts.results_title) current_picker.results_border:change_title(opts.results_title)
end end