diff options
author | anekos | 2009-04-25 05:40:03 +0000 |
---|---|---|
committer | anekos | 2009-04-25 05:40:03 +0000 |
commit | 0a8e67dc02bf2d681b434bdd85109b00f1d0668f (patch) | |
tree | 8aac11395344f3413ced961ddaeba8f103fa573d | |
parent | 0c3a8e8fa3ffb4c6898d58a1516d086b9ffb9744 (diff) | |
download | vimperator-plugins-0a8e67dc02bf2d681b434bdd85109b00f1d0668f.tar.bz2 |
補完の改善
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@32800 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | tada.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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]]);
}
|