From 71fb0c146bef08dc276fc5793bd47366e6e0f32a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 2 Apr 2016 22:44:16 +0200 Subject: patch 7.4.1699 Problem: :packadd does not work the same when used early or late. Solution: Always load plugins matching "plugin/**/*.vim". --- src/ex_cmds2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ex_cmds2.c') diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index c03c24056..9f74376f1 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -3376,7 +3376,7 @@ add_pack_plugin(char_u *fname, void *cookie) if (load_files) { - static char *plugpat = "%s/plugin/*.vim"; + static char *plugpat = "%s/plugin/**/*.vim"; static char *ftpat = "%s/ftdetect/*.vim"; int len; char_u *pat; -- cgit v1.2.1