aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator/mstrans.tw
blob: 3527fbc3d4138603f66934afde0e04e931766932 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 :