summaryrefslogtreecommitdiffstats
path: root/plugins/snippets/data/xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/snippets/data/xml.xml')
-rw-r--r--plugins/snippets/data/xml.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/snippets/data/xml.xml b/plugins/snippets/data/xml.xml
new file mode 100644
index 0000000..a53d565
--- /dev/null
+++ b/plugins/snippets/data/xml.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<snippets language="XML">
+ <snippet id="&quot;">
+ <text><![CDATA[<${1:name} ${2:attr}="${3:value}">$0</${1}>]]></text>
+ <description>Long Attribute Tag</description>
+ <tag>"</tag>
+ </snippet>
+ <snippet id="&lt;">
+ <text><![CDATA[<${1:name}>$0</${1}>
+
+]]></text>
+ <description>Long Tag</description>
+ <tag>&lt;</tag>
+ </snippet>
+ <snippet id="&gt;">
+ <text><![CDATA[<${1:name} />]]></text>
+ <description>Short Tag</description>
+ <tag>&gt;</tag>
+ </snippet>
+ <snippet id="cdata">
+ <text><![CDATA[<![CDATA[$0]]]]><![CDATA[>]]></text>
+ <tag>cdata</tag>
+ <description>CDATA</description>
+ </snippet>
+</snippets>