aboutsummaryrefslogtreecommitdiffstats
path: root/tada.js
diff options
context:
space:
mode:
authoranekos2009-04-25 05:40:03 +0000
committeranekos2009-04-25 05:40:03 +0000
commit0a8e67dc02bf2d681b434bdd85109b00f1d0668f (patch)
tree8aac11395344f3413ced961ddaeba8f103fa573d /tada.js
parent0c3a8e8fa3ffb4c6898d58a1516d086b9ffb9744 (diff)
downloadvimperator-plugins-0a8e67dc02bf2d681b434bdd85109b00f1d0668f.tar.bz2
補完の改善
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@32800 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'tada.js')
-rw-r--r--tada.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tada.js b/tada.js
index 6ac8de0..4625890 100644
--- a/tada.js
+++ b/tada.js
@@ -165,7 +165,9 @@ liberator.plugins.tada = (function(){
// }}}
// PRIVATE {{{
- function tadaListCompleter(context) {
+ function tadaListCompleter(context, args) {
+ if (args.length > 1)
+ return;
context.title = ["List", "Items left"];
context.completions = getLists().map(function(item) [item[1], item[2]]);
}