diff options
Diffstat (limited to 'plugin_loader.js')
-rw-r--r-- | plugin_loader.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugin_loader.js b/plugin_loader.js index 7cdd96c..0350332 100644 --- a/plugin_loader.js +++ b/plugin_loader.js @@ -1,8 +1,11 @@ // ==VimperatorPlugin== // @name Plugin Loader +// @description to load plugins from specified directory at starting up Vimperator. // @description-ja 指定(ディレクトリ|プラグイン)を起動時にロードする // @license Creative Commons 2.1 (Attribution + Share Alike) // @version 2.3 +// @minVersion 1.2 +// @maxVersion 2.0Pre // @author anekos // ==/VimperatorPlugin== // @@ -35,8 +38,10 @@ roots.forEach(function (root) { let files = io.readDirectory(io.getFile(root), true); files.forEach(function (file) { - if (filter.test(file.path)) + if (filter.test(file.path)) { + liberator.log("Sourcing: " + file.path); io.source(file.path, false); + } }); }); |