aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-24 08:38:05 +0800
committerGitHub <noreply@github.com>2024-08-24 08:38:05 +0800
commitbb4b6b427c1952b4a9b72f406b913ec59f0d4d22 (patch)
tree84a311aaa5ccc422a6963724cbc7684278f3123c /runtime
parent2c6222c56b099603b20b54a51e9acaa7974b1ad4 (diff)
downloadrneovim-bb4b6b427c1952b4a9b72f406b913ec59f0d4d22.tar.gz
rneovim-bb4b6b427c1952b4a9b72f406b913ec59f0d4d22.tar.bz2
rneovim-bb4b6b427c1952b4a9b72f406b913ec59f0d4d22.zip
vim-patch:9.1.0690: cannot set special highlight kind in popupmenu (#30128)
Problem: cannot set special highlight kind in popupmenu Solution: add kind_hlgroup item to complete function (glepnir) closes: vim/vim#15561 https://github.com/vim/vim/commit/38f99a1f0d61e9bde3f4a3d0cbe2d06185c4a57f Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/insert.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 5ac87de0a4..c914ebf255 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1183,6 +1183,11 @@ items:
attributes in the popup menu to apply cterm and gui
properties (with higher priority) like strikethrough
to the completion items
+ 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 |hl-PmenuKind|
+ highlight group, allowing for the customization of
+ ctermfd and guifg properties for the completion kind
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