diff options
author | anekos | 2010-05-20 17:26:57 +0000 |
---|---|---|
committer | anekos | 2010-05-20 17:26:57 +0000 |
commit | aac87c7476431cb368103972ff836e97b5372098 (patch) | |
tree | bcebe0e1a924e9aac9c646e4ce23359e7fd38651 /lo.js | |
parent | fb7fae4cf921ee9e39073128554628663efc5403 (diff) | |
download | vimperator-plugins-aac87c7476431cb368103972ff836e97b5372098.tar.bz2 |
補完をほんのり改良 - ソマリ編
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37661 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'lo.js')
-rw-r--r-- | lo.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -39,7 +39,7 @@ let PLUGIN_INFO = <name lang="ja">Link Opener</name> <description>Link Opener</description> <description lang="ja">リンクを開く</description> - <version>2.1.0</version> + <version>2.1.1</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> @@ -304,11 +304,13 @@ let INFO = bang: true, completer: function (context) { lolinks = getLinks(); + context.filters = [CompletionContext.Filter.textDescription]; + context.anchored = false; context.title = ['URL', 'Text Content']; context.compare = CompletionContext.Sort.number; context.completions = lolinks.map(function (it, i) let (url = it.href, text = it.textContent) ([ - [i + ": " + (text || url), i + ": " + url], + i + ": " + (text || url), it.href ])); } |