aboutsummaryrefslogtreecommitdiffstats
path: root/lo.js
diff options
context:
space:
mode:
Diffstat (limited to 'lo.js')
-rw-r--r--lo.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/lo.js b/lo.js
index 9b08e7d..45d4e3f 100644
--- a/lo.js
+++ b/lo.js
@@ -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}));