vim-patch:9.0.1730: passing multiple patterns to runtime not working (#24771)

Problem: passing multiple patterns to runtime not working
Solution: prepend prefix to each argument separately

closes: vim/vim#12617

008c91537b
This commit is contained in:
zeertzjq
2023-08-18 08:24:49 +08:00
committed by GitHub
parent 1d6c4ad073
commit 46163ddf5d
3 changed files with 63 additions and 45 deletions

View File

@@ -1188,7 +1188,7 @@ void ex_helptags(exarg_T *eap)
}
if (strcmp(eap->arg, "ALL") == 0) {
do_in_path(p_rtp, "doc", DIP_ALL + DIP_DIR, helptags_cb, &add_help_tags);
do_in_path(p_rtp, "", "doc", DIP_ALL + DIP_DIR, helptags_cb, &add_help_tags);
} else {
ExpandInit(&xpc);
xpc.xp_context = EXPAND_DIRECTORIES;