aboutsummaryrefslogtreecommitdiffstats
path: root/function-template.js
diff options
context:
space:
mode:
authoranekos2012-07-22 15:12:44 +0900
committeranekos2012-07-22 15:12:44 +0900
commit77129ef972041a3aaf92b2cb7886cedcb39abf6e (patch)
tree4f9595a1c5edaf96f00c8e5985c24b3e8ca7891c /function-template.js
parent6b9aa0713d36f2fa70b65a65501342390b52ced9 (diff)
downloadvimperator-plugins-77129ef972041a3aaf92b2cb7886cedcb39abf6e.tar.bz2
にゃんぷろーぶ
Diffstat (limited to 'function-template.js')
-rw-r--r--function-template.js7
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 () {
},