aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2012-06-16 22:41:41 +0900
committeranekos2012-06-16 22:41:41 +0900
commita3de1176a46e8e86329009cf274df406f8f1c3e9 (patch)
tree3b93a74246efbd9b4dbcdd40284e81668c8f766d
parentb6d01fff8fc8b356ff121635303d5191cc286697 (diff)
downloadvimperator-plugins-a3de1176a46e8e86329009cf274df406f8f1c3e9.tar.bz2
Fix some expressions and <code />.
-rw-r--r--function-template.js34
1 files changed, 28 insertions, 6 deletions
diff --git a/function-template.js b/function-template.js
index 502f2da..3b4a936 100644
--- a/function-template.js
+++ b/function-template.js
@@ -48,10 +48,21 @@ let INFO =
</p>
<item>
<tags>:hoge</tags>
- <spec>:hoge <oa>-opt1=<a>val1</a></spec>
+ <spec>:hoge <oa>-opt1=<a>val1</a></oa></spec>
<description><p>
Description for Command
- </p></description>
+ </p>
+ <code><![CDATA[
+javascript<<EOM
+liberator.globalVariables.this_is_sample = [{
+ neko_tails: 2,
+ neko_eyes: 2,
+ neko_legs: 4,
+ neko_head: 1
+ }];
+EOM
+ ]]></code>
+ </description>
</item>
</plugin>
<plugin name="XXXX" version="1.0.0"
@@ -67,10 +78,21 @@ let INFO =
</p>
<item>
<tags>:hoge</tags>
- <spec>:hoge <oa>-opt1=<a>val1</a></spec>
+ <spec>:hoge <oa>-opt1=<a>val1</a></oa></spec>
<description><p>
コマンドの説明
- </p></description>
+ </p>
+ <code><![CDATA[
+javascript<<EOM
+liberator.globalVariables.this_is_sample = [{
+ neko_tails: 2,
+ neko_eyes: 2,
+ neko_legs: 4,
+ neko_head: 1
+ }];
+EOM
+ ]]></code>
+ </description>
</item>
</plugin>
</>;
@@ -123,7 +145,7 @@ let INFO =
subCommands: [
new Command(
['subA'],
- 'Sub command A'
+ 'Sub command A',
function (args) {
// addUserCommand のと同じ
},
@@ -133,7 +155,7 @@ let INFO =
),
new Command(
['subB'],
- 'Sub command B'
+ 'Sub command B',
function (args) { },
{}
)