diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-02 22:44:16 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-02 22:44:16 +0200 |
commit | 71fb0c146bef08dc276fc5793bd47366e6e0f32a (patch) | |
tree | b4d2535d4cfd7d63b449ea32b87e818f156b021b /src/ex_cmds2.c | |
parent | 298c65971e884666d57c32bff6b730d517d9dc30 (diff) | |
download | vim-git-71fb0c146bef08dc276fc5793bd47366e6e0f32a.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |