diff options
author | Christian Brabandt <cb@256bit.org> | 2022-05-08 21:10:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-08 21:10:56 +0100 |
commit | cb747899bd99361a299a163f3aa55d5fe7d6f798 (patch) | |
tree | 977d277555f886a24f18752d4cdee712c4e49023 /src/cmdexpand.c | |
parent | 8e8dc9b32326c6fbd37671b6072296404b481d4a (diff) | |
download | vim-git-cb747899bd99361a299a163f3aa55d5fe7d6f798.tar.gz |
patch 8.2.4917: fuzzy expansion of option names is not rightv8.2.4917
Problem: Fuzzy expansion of option names is not right.
Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
closes #10380, closes #10318)
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r-- | src/cmdexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index ea8dbfa14..c3731cb64 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c @@ -2787,7 +2787,7 @@ ExpandFromContext( if (xp->xp_context == EXPAND_SETTINGS || xp->xp_context == EXPAND_BOOL_SETTINGS) - ret = ExpandSettings(xp, ®match, pat, numMatches, matches); + ret = ExpandSettings(xp, ®match, pat, numMatches, matches, fuzzy); else if (xp->xp_context == EXPAND_MAPPINGS) ret = ExpandMappings(pat, ®match, numMatches, matches); # if defined(FEAT_EVAL) |