diff --git a/README.md b/README.md index d6246396..183380a9 100644 --- a/README.md +++ b/README.md @@ -357,6 +357,20 @@ beacon = false + + + + blink.cmp + + +```lua +blink_cmp = false +``` + + + + + diff --git a/lua/catppuccin/groups/integrations/blink_cmp.lua b/lua/catppuccin/groups/integrations/blink_cmp.lua new file mode 100644 index 00000000..1a57cd7a --- /dev/null +++ b/lua/catppuccin/groups/integrations/blink_cmp.lua @@ -0,0 +1,41 @@ +local M = {} + +function M.get() + return { + BlinkCmpMenu = { fg = C.text, bg = O.transparent_background and C.none or C.base }, + BlinkCmpMenuBorder = { fg = C.overlay0, bg = O.transparent_background and C.none or C.base }, + BlinkCmpMenuSelection = { bg = C.surface0 }, + BlinkCmpLabel = { fg = C.text }, + BlinkCmpLabelDeprecated = { fg = C.overlay0, style = { "strikethrough" } }, + BlinkCmpDocBorder = { fg = C.overlay0, bg = O.transparent_background and C.none or C.base }, + BlinkCmpDoc = { fg = C.text, bg = O.transparent_background and C.none or C.base }, + + BlinkCmpKindText = { fg = C.green }, + BlinkCmpKindMethod = { fg = C.blue }, + BlinkCmpKindFunction = { fg = C.blue }, + BlinkCmpKindConstructor = { fg = C.blue }, + BlinkCmpKindField = { fg = C.green }, + BlinkCmpKindVariable = { fg = C.flamingo }, + BlinkCmpKindClass = { fg = C.yellow }, + BlinkCmpKindInterface = { fg = C.yellow }, + BlinkCmpKindModule = { fg = C.blue }, + BlinkCmpKindProperty = { fg = C.blue }, + BlinkCmpKindUnit = { fg = C.green }, + BlinkCmpKindValue = { fg = C.peach }, + BlinkCmpKindEnum = { fg = C.yellow }, + BlinkCmpKindKeyword = { fg = C.mauve }, + BlinkCmpKindSnippet = { fg = C.flamingo }, + BlinkCmpKindColor = { fg = C.red }, + BlinkCmpKindFile = { fg = C.blue }, + BlinkCmpKindReference = { fg = C.red }, + BlinkCmpKindFolder = { fg = C.blue }, + BlinkCmpKindEnumMember = { fg = C.teal }, + BlinkCmpKindConstant = { fg = C.peach }, + BlinkCmpKindStruct = { fg = C.blue }, + BlinkCmpKindEvent = { fg = C.blue }, + BlinkCmpKindOperator = { fg = C.sky }, + BlinkCmpKindTypeParameter = { fg = C.maroon }, + } +end + +return M diff --git a/lua/catppuccin/types.lua b/lua/catppuccin/types.lua index 0e7ff5af..b8f3f737 100644 --- a/lua/catppuccin/types.lua +++ b/lua/catppuccin/types.lua @@ -120,6 +120,7 @@ ---``` ---@field barbecue CtpIntegrationBarbecue | boolean? ---@field beacon boolean? +---@field blink_cmp boolean? ---@field colorful_winsep CtpIntegrationColorfulWinsep | boolean? ---@field cmp boolean? -- `coc.nvim` links to `native_lsp` highlight groups, so you can use