aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-01-17 16:46:43 +0800
committerGitHub <noreply@github.com>2023-01-17 16:46:43 +0800
commit58f2dcfc887134f5ebc33c13d7ef5ce540f8a247 (patch)
treeaad572de34e928784e2164d1425352bb8882646d /src/nvim/cmdexpand.c
parent8abf53be6e2aa92a60220a11c2a5ad6d9b364235 (diff)
downloadrneovim-58f2dcfc887134f5ebc33c13d7ef5ce540f8a247.tar.gz
rneovim-58f2dcfc887134f5ebc33c13d7ef5ce540f8a247.tar.bz2
rneovim-58f2dcfc887134f5ebc33c13d7ef5ce540f8a247.zip
vim-patch:8.2.4917: fuzzy expansion of option names is not right (#21853)
Problem: Fuzzy expansion of option names is not right. Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt, closes vim/vim#10380, closes vim/vim#10318) https://github.com/vim/vim/commit/cb747899bd99361a299a163f3aa55d5fe7d6f798 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r--src/nvim/cmdexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index ef64bf90fa..21b9eb1f56 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -2729,7 +2729,7 @@ static int ExpandFromContext(expand_T *xp, char *pat, char ***matches, int *numM
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);
} else if (xp->xp_context == EXPAND_USER_DEFINED) {