Mercurial > vim
comparison src/evalfunc.c @ 22232:f22acf6472da v8.2.1665
patch 8.2.1665: cannot do fuzzy string matching
Commit: https://github.com/vim/vim/commit/635414dd2f3ae7d4d972d79b806348a6516cb91a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 11 22:25:15 2020 +0200
patch 8.2.1665: cannot do fuzzy string matching
Problem: Cannot do fuzzy string matching.
Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6932)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Sep 2020 22:30:04 +0200 |
parents | b6d36f0b4f03 |
children | 6b385c2b9ff5 |
comparison
equal
deleted
inserted
replaced
22231:e1311fb42cd4 | 22232:f22acf6472da |
---|---|
748 {"matchadd", 2, 5, FEARG_1, ret_number, f_matchadd}, | 748 {"matchadd", 2, 5, FEARG_1, ret_number, f_matchadd}, |
749 {"matchaddpos", 2, 5, FEARG_1, ret_number, f_matchaddpos}, | 749 {"matchaddpos", 2, 5, FEARG_1, ret_number, f_matchaddpos}, |
750 {"matcharg", 1, 1, FEARG_1, ret_list_string, f_matcharg}, | 750 {"matcharg", 1, 1, FEARG_1, ret_list_string, f_matcharg}, |
751 {"matchdelete", 1, 2, FEARG_1, ret_number, f_matchdelete}, | 751 {"matchdelete", 1, 2, FEARG_1, ret_number, f_matchdelete}, |
752 {"matchend", 2, 4, FEARG_1, ret_number, f_matchend}, | 752 {"matchend", 2, 4, FEARG_1, ret_number, f_matchend}, |
753 {"matchfuzzy", 2, 2, FEARG_1, ret_list_string, f_matchfuzzy}, | |
753 {"matchlist", 2, 4, FEARG_1, ret_list_string, f_matchlist}, | 754 {"matchlist", 2, 4, FEARG_1, ret_list_string, f_matchlist}, |
754 {"matchstr", 2, 4, FEARG_1, ret_string, f_matchstr}, | 755 {"matchstr", 2, 4, FEARG_1, ret_string, f_matchstr}, |
755 {"matchstrpos", 2, 4, FEARG_1, ret_list_any, f_matchstrpos}, | 756 {"matchstrpos", 2, 4, FEARG_1, ret_list_any, f_matchstrpos}, |
756 {"max", 1, 1, FEARG_1, ret_any, f_max}, | 757 {"max", 1, 1, FEARG_1, ret_any, f_max}, |
757 {"menu_info", 1, 2, FEARG_1, ret_dict_any, | 758 {"menu_info", 1, 2, FEARG_1, ret_dict_any, |