diff options
author | anekos | 2010-08-03 10:50:42 +0000 |
---|---|---|
committer | anekos | 2010-08-03 10:50:42 +0000 |
commit | 2847413177ed0f6914ea45f8ab77f64a6a140613 (patch) | |
tree | 852ff68dac199e3a6b07d8fc6c927fef9db04518 /twittperator.js | |
parent | a141805a671200f49d7dbb8cc6cef7d4c640dbdd (diff) | |
download | vimperator-plugins-2847413177ed0f6914ea45f8ab77f64a6a140613.tar.bz2 |
context.title まとめ
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38147 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twittperator.js')
-rwxr-xr-x | twittperator.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/twittperator.js b/twittperator.js index d3fdda1..34a99e6 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1391,27 +1391,22 @@ function loadPlugins() { // {{{ const Completers = { name: function (context, args) { - context.title = ["Name","Entry"]; context.completions = history.map(rt(function(s) ["@" + s.user.screen_name, s])); }, link: function (context, args) { - context.title = ["Name","Entry"]; context.completions = history.filter(function (s) /https?:\/\//(s.text)).map(rt(function(s) [s.text, s])); }, text: function (context, args) { - context.title = ["Name","Entry"]; context.completions = history.map(rt(function(s) [s.text, s])); }, name_id: function (context, args) { - context.title = ["Name","Entry"]; context.completions = history.map(rt(function(s) ["@" + s.user.screen_name + "#" + s.id, s])); }, name_id_text: function (context, args) { - context.title = ["Name","Entry"]; context.completions = history.map(rt(function(s) ["@" + s.user.screen_name + "#" + s.id + ": " + s.text, s])); } @@ -1497,6 +1492,7 @@ function loadPlugins() { // {{{ if (args.bang) { let subCmd = findSubCommand(args.literalArg); if (subCmd) { + context.title = ["Hidden", "Entry"]; subCmd.completer(context, args); len = 1; } |