diff options
author | anekos | 2010-12-27 00:30:53 +0900 |
---|---|---|
committer | anekos | 2010-12-27 00:31:17 +0900 |
commit | 4a0e6dc74612c1487d839553246d0f4f47902c1f (patch) | |
tree | 668ece5a5fe3c7f50f6449b42830f4c8b0f5cf55 | |
parent | 20c1a810d5ce379c69eb46cfc08ac2b7096808a7 (diff) | |
download | vimperator-plugins-4a0e6dc74612c1487d839553246d0f4f47902c1f.tar.bz2 |
2個目の@補完をすーせー
-rw-r--r-- | twittperator.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/twittperator.js b/twittperator.js index d7efe43..2b90a2e 100644 --- a/twittperator.js +++ b/twittperator.js @@ -28,7 +28,7 @@ let PLUGIN_INFO = <name>Twittperator</name> <description>Twitter Client using OAuth and Streaming API</description> <description lang="ja">OAuth/StreamingAPI対応Twitterクライアント</description> - <version>1.12.0</version> + <version>1.12.1</version> <minVersion>2.3</minVersion> <maxVersion>3.0</maxVersion> <author mail="teramako@gmail.com" homepage="http://d.hatena.ne.jp/teramako/">teramako</author> @@ -1912,6 +1912,8 @@ let PLUGIN_INFO = return { name: completer(function(s) [s.user.screen_name, s]), + atname: + completer(function(s) ['@' + s.user.screen_name, s]), text: completer(function(s) [removeNewLine(s.text), s]), id: @@ -2211,7 +2213,7 @@ let PLUGIN_INFO = (m.index === 0 ? Completers.name_id : Completers.name_id_text)(m.index === 0 && rejectMine)(context, args); } else if (m = tailMatch(/(^|\b|\s)@[^@]*/, arg)) { - (m.index === 0 ? Completers.name_id(rejectMine) : Completers.name(rejectMine))(context, args); + (m.index === 0 ? Completers.name_id(rejectMine) : Completers.atname(rejectMine))(context, args); } if (m) |