aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-27 21:44:05 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-07-27 21:56:44 +0800
commitb8b0e9db3f91fbaa8835b90c683c33310064c8c8 (patch)
tree350d237bd0f5f74fe146b8b73f83243ec4d3d56a /runtime
parent985c636aa6dfcec2a1b788549c3f3ac058c8d141 (diff)
downloadrneovim-b8b0e9db3f91fbaa8835b90c683c33310064c8c8.tar.gz
rneovim-b8b0e9db3f91fbaa8835b90c683c33310064c8c8.tar.bz2
rneovim-b8b0e9db3f91fbaa8835b90c683c33310064c8c8.zip
vim-patch:9.1.0629: Rename of pum hl_group is incomplete
Problem: Rename of pum hl_group is incomplete in source. Solution: Also rename the test function. Rename to user_hlattr in code to avoid confusion with pum_extra. Add test with matched text highlighting (zeertzjq). closes: vim/vim#15348 https://github.com/vim/vim/commit/4100852e099133a0c9603e1087e5dc6d82001ce7
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/insert.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 47d0b3b839..ee83de9c71 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1177,12 +1177,12 @@ items:
user_data custom data which is associated with the item and
available in |v:completed_item|; it can be any type;
defaults to an empty string
- hl_group allows specifying an additional highlight group to
- apply extra attributes to completion items in the
- popupmenu. Is combined with |hl-PmenuSel| and
- |hl-Pmenu| highlighting attributes to apply cterm and
- gui properties, such as strikethrough to the
- completion items.
+ hl_group an additional highlight group whose attributes are
+ combined with |hl-PmenuSel| and |hl-Pmenu| or
+ |hl-PmenuMatchSel| and |hl-PmenuMatch| highlight
+ attributes in the popup menu to apply cterm and gui
+ properties (with higher priority) like strikethrough
+ to the completion items
All of these except "icase", "equal", "dup" and "empty" must be a string. If
an item does not meet these requirements then an error message is given and