aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-09 08:15:14 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-10-10 07:21:02 +0800
commit8450752f46e1482bf34b7f05e484cca740f61075 (patch)
tree58abd1753cfbf7185a1f7ed224ff473e5a1bb8e8 /runtime/doc
parentcd8e15e3373dc9544d582640f043d3dee83a953d (diff)
downloadrneovim-8450752f46e1482bf34b7f05e484cca740f61075.tar.gz
rneovim-8450752f46e1482bf34b7f05e484cca740f61075.tar.bz2
rneovim-8450752f46e1482bf34b7f05e484cca740f61075.zip
vim-patch:9.1.0771: completion attribute hl_group is confusing
Problem: Currently completion attribute hl_group is combined with all items, which is redundant and confusing with kind_hlgroup Solution: Renamed to abbr_hlgroup and combine it only with the abbr item (glepnir). closes: vim/vim#15818 https://github.com/vim/vim/commit/0fe17f8ffbd2588ecd2bf42dced556897bc64f89 Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/insert.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index d7cbb7c78e..27b28624f8 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 an additional highlight group whose attributes are
+ abbr_hlgroup 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
+ to the completion items abbreviation
kind_hlgroup an additional highlight group specifically for setting
the highlight attributes of the completion kind. When
this field is present, it will override the