mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
vim-patch:7.4.1699 (#5660)
Problem: :packadd does not work the same when used early or late.
Solution: Always load plugins matching "plugin/**/*.vim".
71fb0c146b
This commit is contained in:

committed by
Justin M. Keyes

parent
3979c6cbed
commit
783c9aac8e
@@ -2552,7 +2552,7 @@ static void add_pack_plugin(char_u *fname, void *cookie)
|
||||
}
|
||||
|
||||
if (cookie != &APP_ADD_DIR) {
|
||||
static const char *plugpat = "%s/plugin/*.vim"; // NOLINT
|
||||
static const char *plugpat = "%s/plugin/**/*.vim"; // NOLINT
|
||||
static const char *ftpat = "%s/ftdetect/*.vim"; // NOLINT
|
||||
|
||||
size_t len = STRLEN(ffname) + STRLEN(ftpat);
|
||||
|
Reference in New Issue
Block a user