From cdd98f308f3afe4a7ad233d024fd1df60c224358 Mon Sep 17 00:00:00 2001 From: siduck Date: Wed, 8 Mar 2023 17:54:10 +0530 Subject: [PATCH] use black fg for atom_colored cmp style --- lua/base46/integrations/cmp.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/base46/integrations/cmp.lua b/lua/base46/integrations/cmp.lua index 6447b01..f6614de 100644 --- a/lua/base46/integrations/cmp.lua +++ b/lua/base46/integrations/cmp.lua @@ -64,7 +64,7 @@ local styles = { atom_colored = { CmpItemMenu = { fg = colors.light_grey, italic = true }, CmpPmenu = { - bg = colors.darker_black, + bg = colors.black2, }, CmpDoc = { bg = colors.darker_black }, @@ -107,8 +107,7 @@ end -- override item_kind highlights for atom_colored style if cmp_ui.style == "atom_colored" then for key, value in pairs(item_kinds) do - item_kinds[key] = - { fg = vim.o.bg == "dark" and "#ffffff" or colors.black, bg = generate_color(value.fg, -3), bold = true } + item_kinds[key] = { fg = colors.black, bg = generate_color(value.fg, -3), bold = true } end end