diff options
author | Jagua | 2012-06-10 10:58:53 +0900 |
---|---|---|
committer | Jagua | 2012-06-10 10:58:53 +0900 |
commit | cda3972e27ba473afd5bcf057267fcb075a6ab5c (patch) | |
tree | e8dc8c6f007171efeff3ea1f8cc703f18dd285c4 /twittperator | |
parent | d8852ed187b63096aaf690218bcbf5e87c14209a (diff) | |
download | vimperator-plugins-cda3972e27ba473afd5bcf057267fcb075a6ab5c.tar.bz2 |
translate tweets
Diffstat (limited to 'twittperator')
-rw-r--r-- | twittperator/mstrans.tw | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/twittperator/mstrans.tw b/twittperator/mstrans.tw new file mode 100644 index 0000000..3527fbc --- /dev/null +++ b/twittperator/mstrans.tw @@ -0,0 +1,23 @@ +/* + * Please write the below line into .vimperatorrc. + * let g:twittperator_plugin_mstrans = 1 + * + * Require: mstrans.js + */ + +(function () { + const TW = liberator.plugins.twittperator; + + TW.SubCommands.add( + TW.SubCommand({ + command: ['mstrans'], + action: function(arg) { + liberator.execute('mstrans ' + arg); + }, + timelineComplete: true, + completer: TW.Completers.text() + }) + ); +})(); + +// vim: set et fdm=syntax fenc= ft=javascript sts=2 sw=2 ts=2 : |