From 9a4db18e97699ea112a681e7e72a6ed2575e3d51 Mon Sep 17 00:00:00 2001 From: anekos Date: Fri, 17 Sep 2010 01:26:19 +0000 Subject: 補完形式がまぎらわしいので修正 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38479 d0d07461-0603-4401-acd4-de1884942a52 --- twittperator.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'twittperator.js') diff --git a/twittperator.js b/twittperator.js index 98f1057..4944659 100755 --- a/twittperator.js +++ b/twittperator.js @@ -28,7 +28,7 @@ let PLUGIN_INFO = Twittperator Twitter Client using ChirpStream OAuth対応Twitterクライアント - 1.4.5 + 1.4.6 2.3 2.4 teramako @@ -1889,7 +1889,8 @@ let PLUGIN_INFO = } else { let m; if (m = args.literalArg.match(/(RT\s+)@.*$/)) { - Completers.name_id_text(m.index === 0 && rejectMine)(context, args); + (m.index === 0 ? Completers.name_id + : Completers.name_id_text)(m.index === 0 && rejectMine)(context, args); } else if (m = tailMatch(/(^|\b|\s)@[^@]*/, args.literalArg)) { (m.index === 0 ? Completers.name_id(rejectMine) : Completers.name(rejectMine))(context, args); } -- cgit v1.2.3