commit | 71fb0c146bef08dc276fc5793bd47366e6e0f32a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 02 22:44:16 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 02 22:44:16 2016 +0200 |
tree | b4d2535d4cfd7d63b449ea32b87e818f156b021b | |
parent | 298c65971e884666d57c32bff6b730d517d9dc30 [diff] [blame] |
patch 7.4.1699 Problem: :packadd does not work the same when used early or late. Solution: Always load plugins matching "plugin/**/*.vim".
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index c03c240..9f74376 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c
@@ -3376,7 +3376,7 @@ 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;