diff options
author | anekos | 2009-12-15 03:41:02 +0000 |
---|---|---|
committer | anekos | 2009-12-15 03:41:02 +0000 |
commit | 5c784f34872006194e263e0adda6610a64e62eda (patch) | |
tree | 4a22686a3664bdee3ab272ea147a47d501a21043 /function-template.js | |
parent | 73673f9a21a79f1a3ea3ff460c8642f92c11cd6c (diff) | |
download | vimperator-plugins-5c784f34872006194e263e0adda6610a64e62eda.tar.bz2 |
キーワード引数の補完の説明を追加
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36139 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'function-template.js')
-rwxr-xr-x | function-template.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/function-template.js b/function-template.js index 2e5608c..287763a 100755 --- a/function-template.js +++ b/function-template.js @@ -39,13 +39,13 @@ let PLUGIN_INFO = <name lang="ja">関数テンプレート</name> <description>function Template</description> <description lang="ja">Vimperator の関数のテンプレート</description> - <version>1.0.1</version> + <version>1.1.0</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> <updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/function-template.js</updateURL> - <minVersion>2.1pre</minVersion> - <maxVersion>2.2pre</maxVersion> + <minVersion>2.3</minVersion> + <maxVersion>2.3</maxVersion> <detail><![CDATA[ Functions template (Fix|Add) me! @@ -61,6 +61,7 @@ let PLUGIN_INFO = // XXX 以下は実行しないよ。 return; + commands.addUserCommand( ['co[mmand1]'], 'Description', @@ -79,10 +80,10 @@ let PLUGIN_INFO = options: [ [['-force'], commands.OPTION_NOARG], [['-fullscreen', '-f'], commands.OPTION_BOOL], - [['-language'], commands.OPTION_STRING, validaterFunc, ['perl', 'ruby']], + [['-language'], commands.OPTION_STRING, null, [['perl', 'llama'], ['ruby', 'rabbit']]], [['-speed'], commands.OPTION_INT], [['-acceleration'], commands.OPTION_FLOAT], - [['-accessories'], commands.OPTION_LIST, null, ['foo', 'bar']], + [['-accessories'], commands.OPTION_LIST, validaterFunc, ['foo', 'bar']], [['-other'], commands.OPTION_ANY] ], completer: function (context, args) { |