diff options
author | anekos | 2012-07-22 15:12:44 +0900 |
---|---|---|
committer | anekos | 2012-07-22 15:12:44 +0900 |
commit | 77129ef972041a3aaf92b2cb7886cedcb39abf6e (patch) | |
tree | 4f9595a1c5edaf96f00c8e5985c24b3e8ca7891c | |
parent | 6b9aa0713d36f2fa70b65a65501342390b52ced9 (diff) | |
download | vimperator-plugins-77129ef972041a3aaf92b2cb7886cedcb39abf6e.tar.bz2 |
にゃんぷろーぶ
-rw-r--r-- | function-template.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/function-template.js b/function-template.js index 3b4a936..f739cae 100644 --- a/function-template.js +++ b/function-template.js @@ -172,7 +172,7 @@ EOM options.add( ['names'], 'description', - 'string', // type: string, stringlist, charlist, boolean + 'string', // type: string, stringlist, charlist, boolean, number 'defaultValue', { scope: Option.SCOPE_GLOBAL, // <- default @@ -186,6 +186,11 @@ EOM return value; }, completer: function () { + return [ + ["value1", "description one"], + ["value2", "description two"], + ["value3", "description three"], + ]; }, validator: function () { }, |