summaryrefslogtreecommitdiffstats
path: root/src/proto/search.pro
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-04-26 21:17:52 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-26 21:17:52 +0200
commitbb01a1ef3a093cdb36877ba73474719c531dc8cb (patch)
tree46d75e2ab284ea6e579e7066edbd3315293f8add /src/proto/search.pro
parent5930ddcd25c3c31a323cdb1b74c228958e124527 (diff)
patch 8.2.2813: cannot grep using fuzzy matchingv8.2.2813
Problem: Cannot grep using fuzzy matching. Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
Diffstat (limited to 'src/proto/search.pro')
-rw-r--r--src/proto/search.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro
index 14047908c1..a6843a09ae 100644
--- a/src/proto/search.pro
+++ b/src/proto/search.pro
@@ -36,6 +36,7 @@ void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_com
spat_T *get_spat(int idx);
int get_spat_last_idx(void);
void f_searchcount(typval_T *argvars, typval_T *rettv);
+int fuzzy_match(char_u *str, char_u *pat_arg, int matchseq, int *outScore, int_u *matches, int maxMatches);
void f_matchfuzzy(typval_T *argvars, typval_T *rettv);
void f_matchfuzzypos(typval_T *argvars, typval_T *rettv);
/* vim: set ft=c : */