diff src/search.c @ 27908:099c2e612827 v8.2.4479

patch 8.2.4479: no fuzzy completieon for maps and abbreviations Commit: https://github.com/vim/vim/commit/6caeda2fce4bccac2dd43ca9fee1d32ee96b708d Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Feb 27 12:07:30 2022 +0000 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)
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Feb 2022 13:15:03 +0100
parents 76e2115dddb8
children 62cc3b60493b
line wrap: on
line diff
--- 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;