aboutsummaryrefslogtreecommitdiffstats
path: root/nico_related_videos.js
diff options
context:
space:
mode:
Diffstat (limited to 'nico_related_videos.js')
-rw-r--r--nico_related_videos.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/nico_related_videos.js b/nico_related_videos.js
index 75389fc..d6a3eea 100644
--- a/nico_related_videos.js
+++ b/nico_related_videos.js
@@ -2,7 +2,7 @@
// @name Nico Related Videos
// @description-ja ニコニコ動画のオススメ動画のリスト
// @license Creative Commons 2.1 (Attribution + Share Alike)
-// @version 1.2.0
+// @version 1.3.0
// ==/VimperatorPlugin==
//
// Author:
@@ -101,7 +101,8 @@
getRelatedTags().forEach(function (it) last.completions.push([":" + it, "tag"]));
last.url = buffer.URL;
}
- return [0, last.completions.length ? last.completions : [[nothing, nothing]]];
+ return [0, last.completions.length ? completion.filter(last.completions, args)
+ : [[nothing, nothing]]];
}
}
);