patch 9.0.1730: passing multiple patterns to runtime not working
Problem: passing multiple patterns to runtime not working
Solution: prepend prefix to each argument separately
closes: #12617
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
diff --git a/src/help.c b/src/help.c
index 4d1efe8..c33985e 100644
--- a/src/help.c
+++ b/src/help.c
@@ -1312,7 +1312,7 @@
if (STRCMP(eap->arg, "ALL") == 0)
{
- do_in_path(p_rtp, (char_u *)"doc", DIP_ALL + DIP_DIR,
+ do_in_path(p_rtp, "", (char_u *)"doc", DIP_ALL + DIP_DIR,
helptags_cb, &add_help_tags);
}
else