Skip to content

Commit 12baa52

Browse files
committed
feat(editor): PmenuBorder highlight for 'pmenuborder'
1 parent 43cbee6 commit 12baa52

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lua/catppuccin/groups/editor.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ function M.get()
6464
fg = C.overlay0,
6565
style = { "bold" },
6666
}, -- Popup menu: selected item extra text.
67+
PmenuBorder = vim.o.pumborder == "solid"
68+
and ((O.transparent_background and vim.o.pumblend == 0) and { fg = C.surface2, bg = C.none } or {
69+
fg = C.mantle,
70+
bg = C.mantle,
71+
})
72+
or { fg = C.blue, bg = (O.transparent_background and vim.o.pumblend == 0) and C.none or C.mantle }, -- Popup menu: border of popup menu.
6773
Question = { fg = C.blue }, -- |hit-enter| prompt and yes/no questions
6874
QuickFixLine = { bg = U.darken(C.surface1, 0.70, C.base), style = { "bold" } }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
6975
Search = { bg = U.darken(C.sky, 0.30, C.base), fg = C.text }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.

0 commit comments

Comments
 (0)