dotfiles/vim/snippets/vim-snippets/UltiSnips/xml.snippets

17 lines
254 B
Plaintext
Raw Normal View History

2018-04-05 13:06:54 +02:00
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