diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-11 22:25:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-11 22:25:15 +0200 |
commit | 635414dd2f3ae7d4d972d79b806348a6516cb91a (patch) | |
tree | 70ba4988a414e4c1b76eb9f59ace2c3afba39ad3 /src/evalfunc.c | |
parent | c2c820563441499892359da949db3c8f7f16d109 (diff) | |
download | vim-git-635414dd2f3ae7d4d972d79b806348a6516cb91a.tar.gz |
patch 8.2.1665: cannot do fuzzy string matchingv8.2.1665
Problem: Cannot do fuzzy string matching.
Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 619abba98..533f5b95d 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -750,6 +750,7 @@ static funcentry_T global_functions[] = {"matcharg", 1, 1, FEARG_1, ret_list_string, f_matcharg}, {"matchdelete", 1, 2, FEARG_1, ret_number, f_matchdelete}, {"matchend", 2, 4, FEARG_1, ret_number, f_matchend}, + {"matchfuzzy", 2, 2, FEARG_1, ret_list_string, f_matchfuzzy}, {"matchlist", 2, 4, FEARG_1, ret_list_string, f_matchlist}, {"matchstr", 2, 4, FEARG_1, ret_string, f_matchstr}, {"matchstrpos", 2, 4, FEARG_1, ret_list_any, f_matchstrpos}, |