From 4f61f96dc1337fdd48b900a545bdf3bba67183d6 Mon Sep 17 00:00:00 2001 From: nullchilly Date: Thu, 14 Jul 2022 18:45:23 +0700 Subject: [PATCH] fix(telescope): Revert to old behavior --- .../core/integrations/telescope.lua | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/lua/catppuccin/core/integrations/telescope.lua b/lua/catppuccin/core/integrations/telescope.lua index 4321323..2861ff5 100644 --- a/lua/catppuccin/core/integrations/telescope.lua +++ b/lua/catppuccin/core/integrations/telescope.lua @@ -5,17 +5,18 @@ function M.get(cp) TelescopeBorder = { fg = cp.blue }, TelescopeSelectionCaret = { fg = cp.flamingo }, TelescopeSelection = { fg = cp.text, bg = cp.surface0, style = "bold" }, - TelescopeMatching = { fg = cp.blue }, - TelescopePromptPrefix = { bg = cp.crust }, - TelescopePromptNormal = { bg = cp.crust}, - TelescopeResultsNormal = { bg = cp.mantle}, - TelescopePreviewNormal = { bg = cp.crust }, - TelescopePromptBorder = { bg = cp.crust, fg = cp.crust }, - TelescopeResultsBorder = { bg = cp.mantle, fg = cp.crust }, - TelescopePreviewBorder = { bg = cp.crust, fg = cp.crust }, - TelescopePromptTitle = { fg = cp.crust }, - TelescopeResultsTitle = { fg = cp.text }, - TelescopePreviewTitle = { fg = cp.crust }, + -- Allow Telescope to hijack these highlights in order to achieve the old behavior + -- TelescopeMatching = { fg = cp.blue }, + -- TelescopePromptPrefix = { bg = cp.crust }, + -- TelescopePromptNormal = { bg = cp.crust}, + -- TelescopeResultsNormal = { bg = cp.mantle}, + -- TelescopePreviewNormal = { bg = cp.crust }, + -- TelescopePromptBorder = { bg = cp.crust, fg = cp.crust }, + -- TelescopeResultsBorder = { bg = cp.mantle, fg = cp.crust }, + -- TelescopePreviewBorder = { bg = cp.crust, fg = cp.crust }, + -- TelescopePromptTitle = { fg = cp.crust }, + -- TelescopeResultsTitle = { fg = cp.text }, + -- TelescopePreviewTitle = { fg = cp.crust }, } end