Skip to content

Commit

Permalink
feat(cmp): update completion menu item colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ecosse3 committed Apr 7, 2022
1 parent 55ad0e7 commit 2c099ed
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions lua/colorscheme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,24 @@ if EcoVim.colorscheme == 'tokyonight' then
-- Completion Menu Colors

local highlights = {
CmpItemKindText = { fg = "LightGrey" },
CmpItemKindFunction = { fg = tokyonight_colors.blue },
CmpItemKindClass = { fg = tokyonight_colors.orange },
CmpItemKindKeyword = { fg = tokyonight_colors.magneta2 },
CmpItemKindSnippet = { fg = tokyonight_colors.dark3 },
CmpItemKindConstructor = { fg = tokyonight_colors.purple },
CmpItemKindVariable = { fg = tokyonight_colors.cyan, bg = "NONE" },
CmpItemKindInterface = { fg = tokyonight_colors.teal, bg = "NONE" },
CmpItemKindFolder = { fg = tokyonight_colors.blue2 },
CmpItemKindReference = { fg = tokyonight_colors.red1 },
CmpItemKindMethod = { fg = tokyonight_colors.red },
CmpItemMenu = { fg = "#C586C0", bg = "NONE" },
CmpItemAbbr = { fg = "#565c64", bg = "NONE" },
CmpItemAbbrMatch = { fg = "#569CD6", bg = "NONE" },
CmpItemAbbrMatchFuzzy = { fg = "#569CD6", bg = "NONE" },
CmpItemAbbr = { fg = tokyonight_colors.dark3, bg = "NONE" },
CmpItemKindClass = { fg = tokyonight_colors.orange },
CmpItemKindConstructor = { fg = tokyonight_colors.purple },
CmpItemKindFolder = { fg = tokyonight_colors.blue2 },
CmpItemKindFunction = { fg = tokyonight_colors.blue },
CmpItemKindInterface = { fg = tokyonight_colors.teal, bg = "NONE" },
CmpItemKindKeyword = { fg = tokyonight_colors.magneta2 },
CmpItemKindMethod = { fg = tokyonight_colors.red },
CmpItemKindReference = { fg = tokyonight_colors.red1 },
CmpItemKindSnippet = { fg = tokyonight_colors.dark3 },
CmpItemKindVariable = { fg = tokyonight_colors.cyan, bg = "NONE" },
CmpItemKindText = { fg = "LightGrey" },
CmpItemMenu = { fg = "#C586C0", bg = "NONE" },
CmpItemAbbrMatch = { fg = "#569CD6", bg = "NONE" },
CmpItemAbbrMatchFuzzy = { fg = "#569CD6", bg = "NONE" },
}

vim.api.nvim_set_hl(0, "CmpBorderedWindow_FloatBorder", { fg = "#565c64" })
vim.api.nvim_set_hl(0, "CmpBorderedWindow_FloatBorder", { fg = tokyonight_colors.blue0 })

for group, hl in pairs(highlights) do
vim.api.nvim_set_hl(0, group, hl)
Expand Down

0 comments on commit 2c099ed

Please sign in to comment.