feat: nvim-cmp integration

Add highlight groups for nvim-cmp's new feature floating window for
completion menus
old-catppuccino^2
Luis Solano 3 years ago
parent 6de112202c
commit 0cdee9c2a3

@ -0,0 +1,15 @@
local M = {}
local util = require("catppuccino.utils.util")
function M.get(cpt)
return {
CmpItemAbbr = { fg = util.darken(cpt.white, 0.56) },
CmpItemAbbrDeprecated = { fg = util.darken(cpt.white, 0.56), stlye = "strikethrough" },
CmpItemAbbrMatch = { fg = cpt.fg, style = "bold" },
CmpItemAbbrMatchFuzzy = { fg = cpt.fg, style = "bold" },
CmpItemKind = { fg = cpt.blue_br },
CmpItemMenu = { fg = cpt.fg },
}
end
return M
Loading…
Cancel
Save