summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorLuke Kershaw <35707277+l-kershaw@users.noreply.github.com>2021-10-28 14:21:09 +0100
committerGitHub <noreply@github.com>2021-10-28 14:21:09 +0100
commit02a02f7bcdfb1f207de6649c00701ee1fe13a420 (patch)
tree9e5028413524091e40c80a1ccb1034c685183422 /lua
parent99a3988d6e547f98eafe7209e5403ddcbcc89cb6 (diff)
fix: set preview `titlehighlight` when re-enabling preview (#1384)
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/pickers.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua
index a283176..6188dae 100644
--- a/lua/telescope/pickers.lua
+++ b/lua/telescope/pickers.lua
@@ -524,6 +524,7 @@ function Picker:recalculate_layout()
else
popup_opts.preview.highlight = "TelescopeNormal"
popup_opts.preview.borderhighlight = "TelescopePreviewBorder"
+ popup_opts.preview.titlehighlight = "TelescopePreviewTitle"
preview_win, preview_opts, preview_border_win = self:_create_window("", popup_opts.preview)
status.preview_win = preview_win
status.preview_border_win = preview_border_win