mirror of
https://github.com/vim/vim.git
synced 2025-10-20 08:14:18 -04:00
patch 9.1.1416: completion limits not respected for fuzzy completions
Problem: completion limits not respected when using fuzzy completion (Maxim Kim) Solution: trim completion array (Girish Palya) fixes: #17379 closes: #17386 Signed-off-by: Girish Palya <girishji@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
0bc8709a63
commit
19ef6b0b4b
@@ -4566,6 +4566,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_cpt_source_idx; // index of completion source in 'cpt'
|
||||
int pum_user_abbr_hlattr; // highlight attribute for abbr
|
||||
int pum_user_kind_hlattr; // highlight attribute for kind
|
||||
} pumitem_T;
|
||||
|
Reference in New Issue
Block a user