From 580932129003b7064d32337a9f25a168ff2f158e Mon Sep 17 00:00:00 2001 From: Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> Date: Tue, 26 Oct 2021 15:14:33 +0100 Subject: feat: separate higlight for titles in picker windows (#1362) - requires nvim-lua/plenary.nvim#260 --- lua/telescope/pickers.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua') diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index 33129ca..a283176 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -308,13 +308,16 @@ function Picker:find() popup_opts.results.minheight = popup_opts.results.height popup_opts.results.highlight = "TelescopeNormal" popup_opts.results.borderhighlight = "TelescopeResultsBorder" + popup_opts.results.titlehighlight = "TelescopeResultsTitle" popup_opts.prompt.minheight = popup_opts.prompt.height popup_opts.prompt.highlight = "TelescopeNormal" popup_opts.prompt.borderhighlight = "TelescopePromptBorder" + popup_opts.prompt.titlehighlight = "TelescopePromptTitle" if popup_opts.preview then popup_opts.preview.minheight = popup_opts.preview.height popup_opts.preview.highlight = "TelescopeNormal" popup_opts.preview.borderhighlight = "TelescopePreviewBorder" + popup_opts.preview.titlehighlight = "TelescopePreviewTitle" end -- local results_win, results_opts = popup.create("", popup_opts.results) -- cgit v1.2.3