summaryrefslogtreecommitdiffstats
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2022-05-08 21:10:56 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-08 21:10:56 +0100
commitcb747899bd99361a299a163f3aa55d5fe7d6f798 (patch)
tree977d277555f886a24f18752d4cdee712c4e49023 /src/cmdexpand.c
parent8e8dc9b32326c6fbd37671b6072296404b481d4a (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index ea8dbfa14d..c3731cb645 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, &regmatch, pat, numMatches, matches);
+ ret = ExpandSettings(xp, &regmatch, pat, numMatches, matches, fuzzy);
else if (xp->xp_context == EXPAND_MAPPINGS)
ret = ExpandMappings(pat, &regmatch, numMatches, matches);
# if defined(FEAT_EVAL)