Mercurial > vim
diff src/proto/option.pro @ 28786:fd5942a62312 v8.2.4917
patch 8.2.4917: fuzzy expansion of option names is not right
Commit: https://github.com/vim/vim/commit/cb747899bd99361a299a163f3aa55d5fe7d6f798
Author: Christian Brabandt <cb@256bit.org>
Date: Sun May 8 21:10:56 2022 +0100
patch 8.2.4917: fuzzy expansion of option names is not right
Problem: Fuzzy expansion of option names is not right.
Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
closes #10380, closes #10318)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 May 2022 22:15:02 +0200 |
parents | 4dcccb2673fe |
children | f103da6ba95f |
line wrap: on
line diff
--- a/src/proto/option.pro +++ b/src/proto/option.pro @@ -64,7 +64,7 @@ void reset_modifiable(void); void set_iminsert_global(void); void set_imsearch_global(void); void set_context_in_set_cmd(expand_T *xp, char_u *arg, int opt_flags); -int ExpandSettings(expand_T *xp, regmatch_T *regmatch, char_u *fuzzystr, int *numMatches, char_u ***matches); +int ExpandSettings(expand_T *xp, regmatch_T *regmatch, char_u *fuzzystr, int *numMatches, char_u ***matches, int do_fuzzy); int ExpandOldSetting(int *num_file, char_u ***file); int shortmess(int x); void vimrc_found(char_u *fname, char_u *envname);