From 0a8e67dc02bf2d681b434bdd85109b00f1d0668f Mon Sep 17 00:00:00 2001 From: anekos Date: Sat, 25 Apr 2009 05:40:03 +0000 Subject: 補完の改善 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@32800 d0d07461-0603-4401-acd4-de1884942a52 --- tada.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tada.js') 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]]); } -- cgit v1.2.3