mirror of https://github.com/sgoudham/nvim.git
feat: nvim-cmp integration
Add highlight groups for nvim-cmp's new feature floating window for completion menusold-catppuccino^2
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…
Reference in New Issue