0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 9.1.1182: No cmdline completion for 'completefuzzycollect'

Problem:  No cmdline completion for the 'completefuzzycollect' option
          (after v9.1.1178)
Solution: Add cmdline completion for the 'completefuzzycollect' option,
          improve its description in optwin.vim (zeertzjq).

closes: #16813

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-03-07 19:09:09 +01:00
committed by Christian Brabandt
parent 4422de6316
commit 53d59ecc1d
7 changed files with 24 additions and 6 deletions

View File

@@ -1659,6 +1659,20 @@ did_set_completefuzzycollect(optset_T *args UNUSED)
return NULL;
}
int
expand_set_completefuzzycollect(
optexpand_T *args,
int *numMatches,
char_u ***matches)
{
return expand_set_opt_string(
args,
p_cfc_values,
ARRAY_LENGTH(p_cfc_values) - 1,
numMatches,
matches);
}
/*
* The 'completeitemalign' option is changed.
*/