diff options
author | glepnir <glephunter@gmail.com> | 2024-06-11 19:37:04 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-11 19:40:50 +0200 |
commit | 40c1c3317d92f8c2adadf744fab72e4458e2a9fa (patch) | |
tree | 3eb4d44aa173b966201f28f9f2d9b8155eee00f3 /runtime | |
parent | 059cbe8933550e4f2b10ab564fb4398e95280198 (diff) |
patch 9.1.0476: Cannot see matched text in popup menuv9.1.0476
Problem: Cannot see matched text in popup menu
Solution: Introduce 2 new highlighting groups: PmenuMatch and
PmenuMatchSel (glepnir)
ping @habamax, @neutaaaaan @romainl because vim/colorschemes may need
some updates, @lifepillar for updating vim-colortemplate
closes: #14694
Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 5 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 7 | ||||
-rw-r--r-- | runtime/doc/tags | 2 | ||||
-rw-r--r-- | runtime/doc/version9.txt | 5 |
4 files changed, 16 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 655fd6c524..6849bc3caa 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.1. Last change: 2024 Jun 05 +*options.txt* For Vim version 9.1. Last change: 2024 Jun 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4275,6 +4275,7 @@ A jump table for the options with a short description can be found at |Q_op|. T:DiffText,>:SignColumn,-:Conceal, B:SpellBad,P:SpellCap,R:SpellRare, L:SpellLocal,+:Pmenu,=:PmenuSel, + k:PmenuMatch,<:PmenuMatchSel, [:PmenuKind,]:PmenuKindSel, {:PmenuExtra,}:PmenuExtraSel, x:PmenuSbar,X:PmenuThumb,*:TabLine, @@ -4341,6 +4342,8 @@ A jump table for the options with a short description can be found at |Q_op|. |hl-PmenuExtraSel| } popup menu "extra" selected line |hl-PmenuSbar| x popup menu scrollbar |hl-PmenuThumb| X popup menu scrollbar thumb + |hl-PmenuMatch| k popup menu matched text + |hl-PmenuMatchSel| < popup menu matched text in selected line The display modes are: r reverse (termcap entry "mr" and "me") diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index b6b3d8e6ed..9d8af85f67 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.1. Last change: 2024 Jun 09 +*syntax.txt* For Vim version 9.1. Last change: 2024 Jun 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5681,6 +5681,11 @@ PmenuExtraSel Popup menu: Selected item "extra text". PmenuSbar Popup menu: Scrollbar. *hl-PmenuThumb* PmenuThumb Popup menu: Thumb of the scrollbar. + *hl-PmenuMatch* +PmenuMatch Popup menu: Matched text in normal item + *hl-PmenuMatchSel* +PmenuMatchSel Popup menu: Matched text in selected item + *hl-PopupNotification* PopupNotification Popup window created with |popup_notification()|. If not diff --git a/runtime/doc/tags b/runtime/doc/tags index 96be83ab0f..3085ccc4ca 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -8090,6 +8090,8 @@ hl-PmenuExtra syntax.txt /*hl-PmenuExtra* hl-PmenuExtraSel syntax.txt /*hl-PmenuExtraSel* hl-PmenuKind syntax.txt /*hl-PmenuKind* hl-PmenuKindSel syntax.txt /*hl-PmenuKindSel* +hl-PmenuMatch syntax.txt /*hl-PmenuMatch* +hl-PmenuMatchSel syntax.txt /*hl-PmenuMatchSel* hl-PmenuSbar syntax.txt /*hl-PmenuSbar* hl-PmenuSel syntax.txt /*hl-PmenuSel* hl-PmenuThumb syntax.txt /*hl-PmenuThumb* diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt index 6edb8891bc..28dd7a3ad9 100644 --- a/runtime/doc/version9.txt +++ b/runtime/doc/version9.txt @@ -1,4 +1,4 @@ -*version9.txt* For Vim version 9.1. Last change: 2024 Jun 05 +*version9.txt* For Vim version 9.1. Last change: 2024 Jun 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -41596,6 +41596,9 @@ Autocommands: ~ Highlighting: ~ |hl-MsgArea| highlighting of the Command-line and messages area +|hl-PmenuMatch| Popup menu: highlighting of matched text +|hl-PmenuMatchSel| Popup menu: highlighting of matched text in selected + line Commands: ~ |