diff options
author | teramako | 2013-04-10 22:14:28 +0900 |
---|---|---|
committer | teramako | 2013-04-10 22:14:28 +0900 |
commit | 596ae3e9f228d34891f8e52225205e78371b4828 (patch) | |
tree | 3e8338fb8c47c07be169a227a5112bab78b7ceba /lo.js | |
parent | 004f9e2fd284912c3b70401310e118493c7fa8d3 (diff) | |
parent | 8eb425bbdb21e37603603db84d444c90a2d30fb5 (diff) | |
download | vimperator-plugins-596ae3e9f228d34891f8e52225205e78371b4828.tar.bz2 |
Merge branch '3.6'
Diffstat (limited to 'lo.js')
-rw-r--r-- | lo.js | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -33,7 +33,7 @@ THE POSSIBILITY OF SUCH DAMAGE. }}} */ // PLUGIN_INFO {{{ -let PLUGIN_INFO = +let PLUGIN_INFO = xml` <VimperatorPlugin> <name>Link Opener</name> <name lang="ja">Link Opener</name> @@ -49,11 +49,10 @@ let PLUGIN_INFO = <detail><![CDATA[ :help link-opener-plugin ]]></detail> -</VimperatorPlugin>; +</VimperatorPlugin>`; // }}} // INFO {{{ -let INFO = -<> +let INFO = xml` <plugin name="link-opener" version="2.4.0" href="http://github.com/vimpr/vimperator-plugins/blob/master/lo.js" summary="Link Opener" @@ -153,7 +152,7 @@ let INFO = </description> </item> </plugin> -</>; +`; // }}} // Usage: @@ -342,7 +341,7 @@ let INFO = context.process = [ process[0], function (item, text) - (item.thumbnail ? <><img src={item.thumbnail} style={CompItemStyle}/>{text}</> + (item.thumbnail ? `<img src={item.thumbnail} style={CompItemStyle}/>{text}` : process[1].apply(this, arguments)) ]; context.completions = lolinks.map(function (it, i) ({elem: it, index: i})); |