aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator
diff options
context:
space:
mode:
authorJagua2012-06-10 21:06:46 +0900
committerJagua2012-06-10 21:06:46 +0900
commita623d92eda40366ce758aa9f5a07bc77c9cc5cfd (patch)
tree7823881debec2f3b235a9f78fa9460af3df4118f /twittperator
parentcda3972e27ba473afd5bcf057267fcb075a6ab5c (diff)
downloadvimperator-plugins-a623d92eda40366ce758aa9f5a07bc77c9cc5cfd.tar.bz2
add description
Diffstat (limited to 'twittperator')
-rw-r--r--twittperator/mstrans.tw3
1 files changed, 2 insertions, 1 deletions
diff --git a/twittperator/mstrans.tw b/twittperator/mstrans.tw
index 3527fbc..9f4a582 100644
--- a/twittperator/mstrans.tw
+++ b/twittperator/mstrans.tw
@@ -11,11 +11,12 @@
TW.SubCommands.add(
TW.SubCommand({
command: ['mstrans'],
+ description: "Translate a tweet",
action: function(arg) {
liberator.execute('mstrans ' + arg);
},
timelineComplete: true,
- completer: TW.Completers.text()
+ completer: TW.Completers.text(function(s) s.id)
})
);
})();