summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorGianmaria Bajo <mg1979.git@gmail.com>2023-03-10 16:35:53 +0000
committerBram Moolenaar <Bram@vim.org>2023-03-10 16:35:53 +0000
commit6a7c7749204b256e779c245b1e999bf852ad7b64 (patch)
tree4c71d0f915d2bb3df31acb34f4178de49a94b575 /src/vim.h
parentbe19d78c3d44221cbc38fbb5bac19302345c1def (diff)
patch 9.0.1397: highlight for popupmenu kind and extra cannot be setv9.0.1397
Problem: Highlight for popupmenu kind and extra cannot be set. Solution: Add PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel highlight groups and use them. (Gianmaria Bajo, closes #12114)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/vim.h b/src/vim.h
index 5193d598f8..49b781469f 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1418,8 +1418,8 @@ typedef enum auto_event event_T;
/*
* Values for index in highlight_attr[].
- * When making changes, also update HL_FLAGS below! And update the default
- * value of 'highlight' in option.c.
+ * When making changes, also update HL_FLAGS below!
+ * And update the default value of 'highlight': HIGHLIGHT_INIT in optiondefs.h
*/
typedef enum
{
@@ -1465,6 +1465,10 @@ typedef enum
, HLF_SPL // SpellLocal
, HLF_PNI // popup menu normal item
, HLF_PSI // popup menu selected item
+ , HLF_PNK // popup menu normal item "kind"
+ , HLF_PSK // popup menu selected item "kind"
+ , HLF_PNX // popup menu normal item "menu" (extra text)
+ , HLF_PSX // popup menu selected item "menu" (extra text)
, HLF_PSB // popup menu scrollbar
, HLF_PST // popup menu scrollbar thumb
, HLF_TP // tabpage line
@@ -1485,7 +1489,8 @@ typedef enum
'n', 'a', 'b', 'N', 'G', 'O', 'r', 's', 'S', 'c', 't', 'v', 'V', \
'w', 'W', 'f', 'F', 'A', 'C', 'D', 'T', '-', '>', \
'B', 'P', 'R', 'L', \
- '+', '=', 'x', 'X', '*', '#', '_', '!', '.', 'o', 'q', \
+ '+', '=', '[', ']', '{', '}', 'x', 'X', \
+ '*', '#', '_', '!', '.', 'o', 'q', \
'z', 'Z'}
/*