feat(ui): cascading style inheritance for Pmenu* highlights #29980

- `PmenuSel` and `PmenuMatch` inherit from `Pmenu`
- `PmenuMatchSel` inherits from both `PmenuSel` and `PmenuMatch`
This commit is contained in:
Riley Bruins
2024-10-10 23:26:25 -07:00
committed by GitHub
parent 25665b365c
commit a0e3fe5741
5 changed files with 73 additions and 3 deletions

View File

@@ -561,6 +561,9 @@ Highlight groups:
the regexp `[a-zA-Z0-9_.@-]*` (see |group-name|).
- |hl-StatusLineTerm| |hl-StatusLineTermNC| are implemented as 'winhighlight'
window-local highlights which are set by the default |TermOpen| handler.
- The |ins-completion-menu| has cascading highlight styles. |hl-PmenuSel| and
|hl-PmenuMatch| both inherit from |hl-Pmenu|, and |hl-PmenuMatchSel|
inherits highlights from both |hl-PmenuSel| and |hl-PmenuMatch|.
Macro (|recording|) behavior:
- Replay of a macro recorded during :lmap produces the same actions as when it