1
0
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:
Yegappan Lakshmanan
2022-02-27 12:07:30 +00:00
committed by Bram Moolenaar
parent 00333cb3b3
commit 6caeda2fce
6 changed files with 140 additions and 29 deletions

View File

@@ -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;