vim-patch:8.2.2430: :vimgrep expands wildcards twice (#13853)

Problem:    :vimgrep expands wildcards twice.
Solution:   Do not expand wildcards a second time.
f8c6a17180
This commit is contained in:
Jan Edmund Lazo
2021-01-31 10:10:22 -05:00
committed by GitHub
parent 55add1c1c8
commit b2713f11b4
3 changed files with 10 additions and 3 deletions

View File

@@ -5264,7 +5264,7 @@ void ex_vimgrep(exarg_T *eap)
qf_new_list(qi, title);
}
// parse the list of arguments
// Parse the list of arguments, wildcards have already been expanded.
if (get_arglist_exp(p, &fcount, &fnames, true) == FAIL) {
goto theend;
}