feat: added support for CmpKind hilight groups
This commit is contained in:
@@ -409,12 +409,26 @@ function M.setup(config)
|
||||
-- Cmp
|
||||
CmpDocumentation = { fg = c.fg, bg = c.bg_float },
|
||||
CmpDocumentationBorder = { fg = c.border_highlight, bg = c.bg_float },
|
||||
|
||||
CmpItemAbbr = { fg = c.fg, bg = c.none },
|
||||
CmpItemAbbrDeprecated = { fg = c.fg_gutter, bg = c.none },
|
||||
CmpItemAbbrMatch = { fg = c.green1, bg = c.none },
|
||||
CmpItemAbbrMatchFuzzy = { fg = c.green1, bg = c.none },
|
||||
CmpItemKind = { fg = c.teal, bg = c.none },
|
||||
CmpItemAbbrDeprecated = { fg = c.fg_gutter, bg = c.none, style = "strikethrough" },
|
||||
CmpItemAbbrMatch = { fg = c.blue1, bg = c.none },
|
||||
CmpItemAbbrMatchFuzzy = { fg = c.blue1, bg = c.none },
|
||||
|
||||
CmpItemKindDefault = { fg = c.fg_dark, bg = c.none },
|
||||
CmpItemMenu = { fg = c.comment, bg = c.none },
|
||||
|
||||
CmpItemKindVariable = { fg = c.magenta, bg = c.none },
|
||||
|
||||
CmpItemKindFunction = { fg = c.blue, bg = c.none },
|
||||
CmpItemKindMethod = { fg = c.blue, bg = c.none },
|
||||
|
||||
CmpItemKindClass = { fg = c.orange, bg = c.none },
|
||||
CmpItemKindInterface = { fg = c.orange, bg = c.none },
|
||||
|
||||
CmpItemKindProperty = { fg = c.green1, bg = c.none },
|
||||
CmpItemKindField = { fg = c.green1, bg = c.none },
|
||||
CmpItemKindSnippet = { fg = c.dark5, bg = c.none },
|
||||
}
|
||||
|
||||
theme.defer = {}
|
||||
|
||||
Reference in New Issue
Block a user