Skip to content

Commit

Permalink
feat(completion): add PmenuMatch and PmenuMatchSel
Browse files Browse the repository at this point in the history
use same color as for cmp fuzzy matching.
  • Loading branch information
kristijanhusak committed Oct 4, 2024
1 parent ddac100 commit 1ccc754
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/tokyonight/groups/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ function M.get(c, opts)
FloatBorder = { fg = c.border_highlight, bg = c.bg_float },
FloatTitle = { fg = c.border_highlight, bg = c.bg_float },
Pmenu = { bg = c.bg_popup, fg = c.fg }, -- Popup menu: normal item.
PmenuMatch = { bg = c.bg_popup, fg = c.blue1 }, -- Popup menu: Matched text in normal item.
PmenuSel = { bg = Util.blend_bg(c.fg_gutter, 0.8) }, -- Popup menu: selected item.
PmenuMatchSel = { bg = Util.blend_bg(c.fg_gutter, 0.8), fg = c.blue1 }, -- Popup menu: Matched text in selected item.
PmenuSbar = { bg = Util.blend_fg(c.bg_popup, 0.95) }, -- Popup menu: scrollbar.
PmenuThumb = { bg = c.fg_gutter }, -- Popup menu: Thumb of the scrollbar.
Question = { fg = c.blue }, -- |hit-enter| prompt and yes/no questions
Expand Down

0 comments on commit 1ccc754

Please sign in to comment.