diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-22 20:33:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-22 20:33:50 +0200 |
commit | 4f73b8e9cc83f647b34002554a8bdf9abec0a82f (patch) | |
tree | aae61e658dd6f1074eb7f9b6cceea94f4ca7d1b0 /src/proto/search.pro | |
parent | 44aaf5416e0121500dd52b7cab306d7618b4fe53 (diff) |
patch 8.2.1726: fuzzy matching only works on stringsv8.2.1726
Problem: Fuzzy matching only works on strings.
Solution: Support passing a dict. Add matchfuzzypos() to also get the match
positions. (Yegappan Lakshmanan, closes #6947)
Diffstat (limited to 'src/proto/search.pro')
-rw-r--r-- | src/proto/search.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro index 1b62254199..14047908c1 100644 --- a/src/proto/search.pro +++ b/src/proto/search.pro @@ -37,4 +37,5 @@ spat_T *get_spat(int idx); int get_spat_last_idx(void); void f_searchcount(typval_T *argvars, typval_T *rettv); void f_matchfuzzy(typval_T *argvars, typval_T *rettv); +void f_matchfuzzypos(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */ |