diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2022-11-06 12:58:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-06 12:58:29 +0100 |
| commit | 30826fcfb8dd8c63cb3d69e72e23b1f037170f35 (patch) | |
| tree | 60cb4ae6edfdf0aaba0d70d7de239b59fef44607 /lua | |
| parent | 4bd4205028d6588cf2e0a1346687a6039b0f0a7c (diff) | |
fix: generate.refine with border=false (#2223)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/actions/generate.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/telescope/actions/generate.lua b/lua/telescope/actions/generate.lua index 93a7727..4d33f9f 100644 --- a/lua/telescope/actions/generate.lua +++ b/lua/telescope/actions/generate.lua @@ -75,11 +75,11 @@ action_generate.refine = function(prompt_bufnr, opts) end -- 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) 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) end |
