mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
vim-patch:8.2.4479: no fuzzy completieon for maps and abbreviations
Problem: No fuzzy completieon for maps and abbreviations.
Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
closes vim/vim#9856)
6caeda2fce
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
@@ -3472,7 +3472,7 @@ int fuzzy_match_str(char *const str, const char *const pat)
|
||||
|
||||
int score = 0;
|
||||
uint32_t matchpos[MAX_FUZZY_MATCHES];
|
||||
fuzzy_match(str, pat, false, &score, matchpos, sizeof(matchpos) / sizeof(matchpos[0]));
|
||||
fuzzy_match(str, pat, true, &score, matchpos, sizeof(matchpos) / sizeof(matchpos[0]));
|
||||
|
||||
return score;
|
||||
}
|
||||
|
Reference in New Issue
Block a user