aboutsummaryrefslogtreecommitdiffstats
path: root/lo.js
diff options
context:
space:
mode:
authoranekos2010-05-20 17:26:57 +0000
committeranekos2010-05-20 17:26:57 +0000
commitaac87c7476431cb368103972ff836e97b5372098 (patch)
treebcebe0e1a924e9aac9c646e4ce23359e7fd38651 /lo.js
parentfb7fae4cf921ee9e39073128554628663efc5403 (diff)
downloadvimperator-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.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
]));
}