add Normal highlights for prompt and results (#1514)

* feat(highlight): add Normal highlights for prompt and results

* fix(highlight): link to TelescopeNormal by default
This commit is contained in:
max397574
2021-11-29 22:47:19 +01:00
committed by GitHub
parent 22e59556f9
commit c1951b3722
2 changed files with 5 additions and 5 deletions

View File

@@ -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