0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.1699

Problem:    :packadd does not work the same when used early or late.
Solution:   Always load plugins matching "plugin/**/*.vim".
This commit is contained in:
Bram Moolenaar
2016-04-02 22:44:16 +02:00
parent 298c65971e
commit 71fb0c146b
3 changed files with 9 additions and 2 deletions

View File

@@ -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;