From aac87c7476431cb368103972ff836e97b5372098 Mon Sep 17 00:00:00 2001
From: anekos
Date: Thu, 20 May 2010 17:26:57 +0000
Subject: 補完をほんのり改良 - ソマリ編
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37661 d0d07461-0603-4401-acd4-de1884942a52
---
lo.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'lo.js')
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 =
Link Opener
Link Opener
リンクを開く
- 2.1.0
+ 2.1.1
anekos
new BSD License (Please read the source code comments of this plugin)
修正BSDライセンス (ソースコードのコメントを参照してください)
@@ -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
]));
}
--
cgit v1.2.3