aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/news.txt4
-rw-r--r--runtime/doc/syntax.txt8
-rw-r--r--runtime/doc/vim_diff.txt3
3 files changed, 12 insertions, 3 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index ed5bd973be..9bc20c3827 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -234,6 +234,10 @@ UI
which controls the tool used to open the given path or URL. If you want to
globally set this, you can override vim.ui.open using the same approach
described at |vim.paste()|.
+• The |ins-completion-menu| now supports 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|.
==============================================================================
CHANGED FEATURES *news-changed*
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 219be92c58..5cdcf564c9 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -5202,7 +5202,7 @@ NormalNC Normal text in non-current windows.
*hl-Pmenu*
Pmenu Popup menu: Normal item.
*hl-PmenuSel*
-PmenuSel Popup menu: Selected item.
+PmenuSel Popup menu: Selected item. Combined with |hl-Pmenu|.
*hl-PmenuKind*
PmenuKind Popup menu: Normal item "kind".
*hl-PmenuKindSel*
@@ -5216,9 +5216,11 @@ PmenuSbar Popup menu: Scrollbar.
*hl-PmenuThumb*
PmenuThumb Popup menu: Thumb of the scrollbar.
*hl-PmenuMatch*
-PmenuMatch Popup menu: Matched text in normal item.
+PmenuMatch Popup menu: Matched text in normal item. Combined with
+ |hl-Pmenu|.
*hl-PmenuMatchSel*
-PmenuMatchSel Popup menu: Matched text in selected item.
+PmenuMatchSel Popup menu: Matched text in selected item. Combined with
+ |hl-PmenuMatch| and |hl-PmenuSel|.
*hl-Question*
Question |hit-enter| prompt and yes/no questions.
*hl-QuickFixLine*
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index e069678b30..0a42acffb9 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -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