aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2010-12-19 07:37:22 +0900
committeranekos2010-12-19 08:50:59 +0900
commitbf3d8dd9f655503d53f698f7957f3627d8215ecb (patch)
treeb644e0d9d86e1ac9742e10af94c2dff935e0b2a4 /twittperator.js
parent236ae6130d6a78d4cc8a5349316a3ab0c085a6b9 (diff)
downloadvimperator-plugins-bf3d8dd9f655503d53f698f7957f3627d8215ecb.tar.bz2
@おかしいでなおしたで
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/twittperator.js b/twittperator.js
index b134f05..d7efe43 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -1911,7 +1911,7 @@ let PLUGIN_INFO =
return {
name:
- completer(function(s) ["@" + s.user.screen_name, s]),
+ completer(function(s) [s.user.screen_name, s]),
text:
completer(function(s) [removeNewLine(s.text), s]),
id:
@@ -2187,7 +2187,7 @@ let PLUGIN_INFO =
if (!subCmd)
return;
- context.offset += m[0] === "@" ? 0 : m[0].length;
+ context.offset += m[0].length;
let offset = context.offset;
subCmd.completer.forEach(function (completer, index) {