diff options
author | anekos | 2010-07-16 08:48:15 +0000 |
---|---|---|
committer | anekos | 2010-07-16 08:48:15 +0000 |
commit | 57c7592c6363c4170d02526b6cda82bcd3da44c7 (patch) | |
tree | 34a87e7255f3426e55306fbe8c0fee166aea8294 /function-template.js | |
parent | 08710e240e34d88aeeda479738abe40d6e8d62aa (diff) | |
download | vimperator-plugins-57c7592c6363c4170d02526b6cda82bcd3da44c7.tar.bz2 |
context.fiters を追加
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37943 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'function-template.js')
-rwxr-xr-x | function-template.js | 3 |
1 files changed, 2 insertions, 1 deletions
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 = <name lang="ja">関数テンプレート</name> <description>function Template</description> <description lang="ja">Vimperator の関数のテンプレート</description> - <version>1.1.0</version> + <version>1.2.0</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> @@ -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'], ]; |