1
0
forked from aniani/vim

patch 8.2.2430: :vimgrep expands wildcards twice

Problem:    :vimgrep expands wildcards twice.
Solution:   Do not expand wildcards a second time.
This commit is contained in:
Bram Moolenaar
2021-01-30 18:09:06 +01:00
parent 59ff64079b
commit f8c6a17180
4 changed files with 12 additions and 3 deletions

View File

@@ -6053,7 +6053,7 @@ vgr_process_args(
return FAIL;
}
// parse the list of arguments
// Parse the list of arguments, wildcards have already been expanded.
if (get_arglist_exp(p, &args->fcount, &args->fnames, TRUE) == FAIL)
return FAIL;
if (args->fcount == 0)