summaryrefslogtreecommitdiffstats
path: root/src/proto/search.pro
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2024-06-11 19:37:04 +0200
committerChristian Brabandt <cb@256bit.org>2024-06-11 19:40:50 +0200
commit40c1c3317d92f8c2adadf744fab72e4458e2a9fa (patch)
tree3eb4d44aa173b966201f28f9f2d9b8155eee00f3 /src/proto/search.pro
parent059cbe8933550e4f2b10ab564fb4398e95280198 (diff)
patch 9.1.0476: Cannot see matched text in popup menuv9.1.0476
Problem: Cannot see matched text in popup menu Solution: Introduce 2 new highlighting groups: PmenuMatch and PmenuMatchSel (glepnir) ping @habamax, @neutaaaaan @romainl because vim/colorschemes may need some updates, @lifepillar for updating vim-colortemplate closes: #14694 Signed-off-by: glepnir <glephunter@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
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 d9cb16aa84..08526c80f2 100644
--- a/src/proto/search.pro
+++ b/src/proto/search.pro
@@ -40,6 +40,7 @@ int fuzzy_match(char_u *str, char_u *pat_arg, int matchseq, int *outScore, int_u
void f_matchfuzzy(typval_T *argvars, typval_T *rettv);
void f_matchfuzzypos(typval_T *argvars, typval_T *rettv);
int fuzzy_match_str(char_u *str, char_u *pat);
+garray_T *fuzzy_match_str_with_pos(char_u *str, char_u *pat);
void fuzmatch_str_free(fuzmatch_str_T *fuzmatch, int count);
int fuzzymatches_to_strmatches(fuzmatch_str_T *fuzmatch, char_u ***matches, int count, int funcsort);
/* vim: set ft=c : */