aboutsummaryrefslogtreecommitdiffstats
path: root/lo.js
diff options
context:
space:
mode:
Diffstat (limited to 'lo.js')
-rw-r--r--lo.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/lo.js b/lo.js
index 7e6cecb..ed71ade 100644
--- a/lo.js
+++ b/lo.js
@@ -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
]));
}