fix(telescope): Revert to old behavior

dev
nullchilly 2 years ago
parent d28adde4bd
commit 55294747e2

@ -1,23 +0,0 @@
local M = {}
function M.get(cp)
return {
TelescopeBorder = { fg = cp.blue },
TelescopeSelectionCaret = { fg = cp.flamingo },
TelescopeSelection = { fg = cp.text, bg = cp.surface0, style = "bold" },
TelescopeMatching = { fg = cp.blue },
-- Allow Telescope to hijack these highlights in order to achieve the old behavior
-- 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
return M

@ -6,16 +6,16 @@ function M.get()
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 },
-- 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

Loading…
Cancel
Save