summaryrefslogtreecommitdiff
path: root/snippets/xml.snippets
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-08-28 12:24:01 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-08-28 12:24:01 +0100
commit823302458ec6c53455a3f34674415c43ce6a3187 (patch)
tree92168b44b01f5b2236b7cdf331e227c4790431ee /snippets/xml.snippets
parent9ea6111717518625cbd28a020493ec06610ff01e (diff)
Added snippets directory
Diffstat (limited to 'snippets/xml.snippets')
-rw-r--r--snippets/xml.snippets12
1 files changed, 12 insertions, 0 deletions
diff --git a/snippets/xml.snippets b/snippets/xml.snippets
new file mode 100644
index 0000000..0ab346b
--- /dev/null
+++ b/snippets/xml.snippets
@@ -0,0 +1,12 @@
+# xml declaration
+snippet xml
+ <?xml version="1.0" encoding="UTF-8"?>
+# tag
+snippet t
+ <${1:}>
+ ${2}
+ </$1>
+# inline tag
+snippet ti
+ <${1:}>${2}</$1>
+