Skip to content

Commit

Permalink
feat: lighten menu item of cmp
Browse files Browse the repository at this point in the history
  • Loading branch information
loctvl842 committed Oct 30, 2023
1 parent cf0e44a commit 5e932cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lua/monokai-pro/theme/plugins/cmp.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
local M = {}

--- @param c Colorscheme The color palette
M.setup = function(c, _, _)
--- @param hp Helper
M.setup = function(c, _, hp)
return {
CmpItemAbbrMatch = { fg = c.editorSuggestWidget.highlightForeground, bold = true }, -- text match in order
CmpItemAbbrMatchFuzzy = { link = "CmpItemAbbrMatch" }, -- text match not in order
CmpItemMenu = { fg = c.editorSuggestWidget.foreground }, -- source of cmp. Ex: Lsp | Snippet
CmpItemMenu = { fg = hp.lighten(c.editorSuggestWidget.foreground, -15) }, -- source of cmp. Ex: Lsp | Snippet
CmpItemAbbr = { fg = c.editorSuggestWidget.foreground }, -- text that not match
CmpItemAbbrDeprecated = { fg = c.editorSuggestWidget.foreground, strikethrough = true }, -- text not match of deprecated
CmpItemKindArray = { fg = c.base.red },
Expand Down

0 comments on commit 5e932cc

Please sign in to comment.