Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitefeb06e

Browse files
comfysagesgoudham
authored andcommitted
feat(editor): addPmenu missing highlights
- add `PmenuMatch` and `PmenuMatchSel`- link pmenu highlights in blink integration to defaults where possible
1 parent19e63fb commitefeb06e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎lua/catppuccin/groups/editor.lua‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ function M.get()
5454
fg=C.overlay2,
5555
},-- Popup menu: normal item.
5656
PmenuSel= {bg=C.surface0,style= {"bold"} },-- Popup menu: selected item.
57+
PmenuMatch= {fg=C.text,style= {"bold"} },-- Popup menu: matching text.
58+
PmenuMatchSel= {style= {"bold"} },-- Popup menu: matching text in selected item; is combined with |hl-PmenuMatch| and |hl-PmenuSel|.
5759
PmenuSbar= {bg=C.surface0 },-- Popup menu: scrollbar.
5860
PmenuThumb= {bg=C.overlay0 },-- Popup menu: Thumb of the scrollbar.
5961
PmenuExtra= {fg=C.overlay0 },-- Popup menu: normal item extra text.

‎lua/catppuccin/groups/integrations/blink_cmp.lua‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ function M.get()
1111
BlinkCmpKind= {fg=C.blue },
1212
BlinkCmpMenu= {link="Pmenu"},
1313
BlinkCmpDoc= {link="NormalFloat"},
14-
BlinkCmpLabelMatch= {fg=C.text,style= {"bold"} },
14+
BlinkCmpLabelMatch= {link="PmenuMatch"},
1515
BlinkCmpMenuSelection= {bg=C.surface1,style= {"bold"} },
1616
BlinkCmpScrollBarGutter= {bg=C.surface1 },
1717
BlinkCmpScrollBarThumb= {bg=C.overlay0 },
18-
BlinkCmpLabelDescription= {fg=C.overlay0 },
19-
BlinkCmpLabelDetail= {fg=C.overlay0 },
18+
BlinkCmpLabelDescription= {link="PmenuExtra"},
19+
BlinkCmpLabelDetail= {link="PmenuExtra"},
2020
BlinkCmpSignatureHelpBorder= {link="FloatBorder"},
2121

2222
BlinkCmpKindText= {fg=C.green },

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp