diff --git a/denops/dpp/dpp.ts b/denops/dpp/dpp.ts index 6b9d38f..1342c3a 100644 --- a/denops/dpp/dpp.ts +++ b/denops/dpp/dpp.ts @@ -525,14 +525,15 @@ function initPlugin(plugin: Plugin, basePath: string, hasLua: boolean): Plugin { plugin.depends = [plugin.depends]; } - if (!("lazy" in plugin)) { + if (plugin.lazy === undefined) { // Default lazy set plugin.lazy = Object.keys(plugin).filter((key) => key.startsWith("on_") ).length > 0; } - if (!plugin.merged) { + if (plugin.merged === undefined) { + // Default merged set plugin.merged = !plugin.lazy && [ "local", "build",