summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-02 22:44:16 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-02 22:44:16 +0200
commit71fb0c146bef08dc276fc5793bd47366e6e0f32a (patch)
treeb4d2535d4cfd7d63b449ea32b87e818f156b021b /src/ex_cmds2.c
parent298c65971e884666d57c32bff6b730d517d9dc30 (diff)
patch 7.4.1699v7.4.1699
Problem: :packadd does not work the same when used early or late. Solution: Always load plugins matching "plugin/**/*.vim".
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index c03c240562..9f74376f10 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;