0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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: #15348

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-07-27 13:21:49 +02:00
committed by Christian Brabandt
parent f08865ce83
commit 4100852e09
9 changed files with 89 additions and 32 deletions

View File

@@ -4472,7 +4472,7 @@ typedef struct
char_u *pum_info; // extra info
int pum_score; // fuzzy match score
int pum_idx; // index of item before sorting by score
int pum_extrahlattr; // extra highlight group attr for combine
int pum_user_hlattr; // highlight attribute to combine with
} pumitem_T;
/*