Skip to content

Commit

Permalink
Merge pull request #42 from LuisxSullivaN/integrations/cmp
Browse files Browse the repository at this point in the history
feat: nvim-cmp integration
  • Loading branch information
pocco81 committed Oct 11, 2021
2 parents 6de1122 + 0cdee9c commit d262f03
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lua/catppuccino/core/integrations/cmp.lua
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d262f03

Please sign in to comment.