aboutsummaryrefslogtreecommitdiffstats
path: root/pluginManager.js
diff options
context:
space:
mode:
authoranekos2009-02-28 23:02:14 +0000
committeranekos2009-02-28 23:02:14 +0000
commit63458774610c20c75017abe4749732be4e413711 (patch)
tree3f07bde864974e5c1f0e735e0aedc4d33fac6765 /pluginManager.js
parentb39c3d0dc5917574efd9fd4fb2f68fd7d1a27638 (diff)
downloadvimperator-plugins-63458774610c20c75017abe4749732be4e413711.tar.bz2
source サブコマンドが補完に洗われてなかったのを修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@30631 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'pluginManager.js')
-rw-r--r--pluginManager.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/pluginManager.js b/pluginManager.js
index 49af9cd..af9287d 100644
--- a/pluginManager.js
+++ b/pluginManager.js
@@ -4,7 +4,7 @@ var PLUGIN_INFO =
<description>Manage Vimperator Plugins</description>
<description lang="ja">Vimpeatorプラグインの管理</description>
<author mail="teramako@gmail.com" homepage="http://d.hatena.ne.jp/teramako/">teramako</author>
-<version>0.6.1</version>
+<version>0.6.2</version>
<minVersion>2.0pre</minVersion>
<maxVersion>2.0pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/pluginManager.js</updateURL>
@@ -878,9 +878,10 @@ commands.addUserCommand(['pluginmanager', 'pm'], 'Manage Vimperator plugins',
['install', 'Install the plugin of (current page or specified URL).'],
['list', 'List plugin information'],
['update', 'Update plugins'],
+ ['source', 'Show the source code'],
];
} else { // for sub-arguments
- if (/^(update|check|help|list)$/.test(args[0])) {
+ if (/^(update|check|help|list|source)$/.test(args[0])) {
context.title = ['PluginName', '[Version]Description'];
context.completions = getPlugins().map(function(plugin) [
plugin.name,