Mercurial > vim
comparison src/proto/search.pro @ 22355:0491b9cafd44 v8.2.1726
patch 8.2.1726: fuzzy matching only works on strings
Commit: https://github.com/vim/vim/commit/4f73b8e9cc83f647b34002554a8bdf9abec0a82f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 22 20:33:50 2020 +0200
patch 8.2.1726: fuzzy matching only works on strings
Problem: Fuzzy matching only works on strings.
Solution: Support passing a dict. Add matchfuzzypos() to also get the match
positions. (Yegappan Lakshmanan, closes #6947)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Sep 2020 20:45:04 +0200 |
parents | f22acf6472da |
children | 192058cad081 |
comparison
equal
deleted
inserted
replaced
22354:19139cc50651 | 22355:0491b9cafd44 |
---|---|
35 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum); | 35 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum); |
36 spat_T *get_spat(int idx); | 36 spat_T *get_spat(int idx); |
37 int get_spat_last_idx(void); | 37 int get_spat_last_idx(void); |
38 void f_searchcount(typval_T *argvars, typval_T *rettv); | 38 void f_searchcount(typval_T *argvars, typval_T *rettv); |
39 void f_matchfuzzy(typval_T *argvars, typval_T *rettv); | 39 void f_matchfuzzy(typval_T *argvars, typval_T *rettv); |
40 void f_matchfuzzypos(typval_T *argvars, typval_T *rettv); | |
40 /* vim: set ft=c : */ | 41 /* vim: set ft=c : */ |