diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-02-27 12:07:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-27 12:07:30 +0000 |
commit | 6caeda2fce4bccac2dd43ca9fee1d32ee96b708d (patch) | |
tree | 2a3de1990e27aa46b59806f74228347f59ceff65 /src/search.c | |
parent | 00333cb3b341499df8729b9345f0bbad968cda0b (diff) | |
download | vim-git-6caeda2fce4bccac2dd43ca9fee1d32ee96b708d.tar.gz |
patch 8.2.4479: no fuzzy completieon for maps and abbreviationsv8.2.4479
Problem: No fuzzy completieon for maps and abbreviations.
Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
closes #9856)
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 063058d32..98241a471 100644 --- a/src/search.c +++ b/src/search.c @@ -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; |