dotfiles/vim/snippets/vim-snippets/UltiSnips/xml.snippets
2018-04-05 13:06:54 +02: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