dot-files/UltiSnips/xml.snippets
Buddy Sandidge 88649519d4 Squashed 'vim/bundle/ultisnips/' content from commit cecc7aad8
git-subtree-dir: vim/bundle/ultisnips
git-subtree-split: cecc7aad882b56550ae52e3feea8b690ed330ab3
2014-02-19 21:55:17 -08:00

17 lines
254 B
Plaintext

priority -50
snippet xml "XML declaration" b
<?xml version="1.0"?>
endsnippet
snippet t "Simple tag" b
<${1:tag}>
${2:content}
</${1/([\w:._-]+).*/$1/}>
endsnippet
snippet ti "Inline tag" b
<${1:tag}>${2:content}</${1/([\w:._-]+).*/$1/}>
endsnippet