forked from aniani/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 #9856)
This commit is contained in:
committed by
Bram Moolenaar
parent
00333cb3b3
commit
6caeda2fce
@@ -5006,7 +5006,7 @@ fuzzy_match_str(char_u *str, char_u *pat)
|
||||
if (str == NULL || pat == NULL)
|
||||
return 0;
|
||||
|
||||
fuzzy_match(str, pat, FALSE, &score, matchpos,
|
||||
fuzzy_match(str, pat, TRUE, &score, matchpos,
|
||||
sizeof(matchpos) / sizeof(matchpos[0]));
|
||||
|
||||
return score;
|
||||
|
Reference in New Issue
Block a user