From 205394f023f47498174974f5e39317b9f8e0e8d7 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 20 May 2010 17:27:02 +0000 Subject: リンクに画像が含まれる場合、画像を補完に出すようにした git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37662 d0d07461-0603-4401-acd4-de1884942a52 --- lo.js | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'lo.js') diff --git a/lo.js b/lo.js index ed71ade..505f1ce 100644 --- a/lo.js +++ b/lo.js @@ -39,7 +39,7 @@ let PLUGIN_INFO = Link Opener Link Opener リンクを開く - 2.1.1 + 2.2.0 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -54,7 +54,7 @@ let PLUGIN_INFO = // INFO {{{ let INFO = <> - - {text} + : process[1].apply(this, arguments)) + ]; + context.completions = lolinks.map(function (it, i) ({elem: it, index: i})); } }, true -- cgit v1.2.3