From 57c7592c6363c4170d02526b6cda82bcd3da44c7 Mon Sep 17 00:00:00 2001 From: anekos Date: Fri, 16 Jul 2010 08:48:15 +0000 Subject: context.fiters を追加 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37943 d0d07461-0603-4401-acd4-de1884942a52 --- function-template.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'function-template.js') diff --git a/function-template.js b/function-template.js index 287763a..b418eac 100755 --- a/function-template.js +++ b/function-template.js @@ -39,7 +39,7 @@ let PLUGIN_INFO = 関数テンプレート function Template Vimperator の関数のテンプレート - 1.1.0 + 1.2.0 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -88,6 +88,7 @@ let PLUGIN_INFO = ], completer: function (context, args) { context.title = ['value', 'description']; + context.filters = [CompletionContext.Filter.textDescription]; // 説明(desc)もフィルタリング対象にする context.completions = [ ['item1', 'desc1'], ]; -- cgit v1.2.3