mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.4463: completion only uses strict matching
Problem: Completion only uses strict matching. Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan, closes #9803)
This commit is contained in:
committed by
Bram Moolenaar
parent
9c9be05b17
commit
38b85cb4d7
@@ -4516,3 +4516,11 @@ typedef struct {
|
||||
int sw_same_win; // VIsual_active was not reset
|
||||
int sw_visual_active;
|
||||
} switchwin_T;
|
||||
|
||||
// Fuzzy matched string list item. Used for fuzzy match completion. Items are
|
||||
// usually sorted by 'score'. The 'idx' member is used for stable-sort.
|
||||
typedef struct {
|
||||
int idx;
|
||||
char_u *str;
|
||||
int score;
|
||||
} fuzmatch_str_T;
|
||||
|
Reference in New Issue
Block a user