aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/xml.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/xml.snippets')
-rw-r--r--vim/bundle/vim-snippets/snippets/xml.snippets12
1 files changed, 12 insertions, 0 deletions
diff --git a/vim/bundle/vim-snippets/snippets/xml.snippets b/vim/bundle/vim-snippets/snippets/xml.snippets
new file mode 100644
index 0000000..0ab346b
--- /dev/null
+++ b/vim/bundle/vim-snippets/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>
+