From c1951b37229f6628a07e1290430eeb83e532dc90 Mon Sep 17 00:00:00 2001 From: max397574 <81827001+max397574@users.noreply.github.com> Date: Mon, 29 Nov 2021 22:47:19 +0100 Subject: add Normal highlights for prompt and results (#1514) * feat(highlight): add Normal highlights for prompt and results * fix(highlight): link to TelescopeNormal by default --- lua/telescope/pickers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index 618a6e1..92482db 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -320,11 +320,11 @@ function Picker:find() -- `popup.nvim` massaging so people don't have to remember minheight shenanigans popup_opts.results.minheight = popup_opts.results.height - popup_opts.results.highlight = "TelescopeNormal" + popup_opts.results.highlight = "TelescopeResultsNormal" 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.highlight = "TelescopePromptNormal" popup_opts.prompt.borderhighlight = "TelescopePromptBorder" popup_opts.prompt.titlehighlight = "TelescopePromptTitle" if popup_opts.preview then -- cgit v1.2.3